SPNEGO get the raw ticket

Hello i would like to get the raw ticket bytes so I can extract them for PAC.
GSSCredential dc = null;
if (gcontext.getCredDelegState()) {
dc = gcontext.getDelegCred();
GSSName dname = dc.getName();when i debug the conversation and i look inside the dc var I can see the ticket. it is about 6720 Byte long but i dont know how to get it in my code there is no method giving me the raw data. I couldn't find nothing what can lead me to a solution
does anybody know a solution?
here you can see the screen of eclipse
http://www.250kb.de/u/071020/j/2dd0660b.jpg
thx
Edited by: __Vadim on Oct 20, 2007 10:22 AM

hi again,
I am still a bit lost solving this issue, so let me precise my question again.
I have the following code
                    byte[] in = Base64.decodeBase64(header.substring(10).getBytes());
                    GSSManager manager = GSSManager.getInstance();
                    Oid spnegoOid = new Oid("1.3.6.1.5.5.2");
                    GSSCredential serverCreds = manager.createCredential(null,
                              GSSCredential.INDEFINITE_LIFETIME, spnegoOid,
                              GSSCredential.ACCEPT_ONLY);
                    gcontext = manager.createContext(serverCreds);
                    log.debug("Done creating Context: ");
                    outToken = getToken(in, gcontext);byte[] in contains the SPNEGO ticket the IE client is sending to my servlet. I respond to the his request with the outToken and so far this works the user gets authenticated to my service
I would like to extract some information that are in the in token in especially PAC like it mentioned in
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnkerb/html/MSDN_PAC.asp

Similar Messages

  • When I move a RAW file from IPhoto to my desktop or Photoshop it changes to a jpeg and reduces in size. How can I get the Raw file across?

    When I move a RAW file from IPhoto on my macbook pro to desktop or Photoshop it changes to a jpeg and reduces in size. How can I get the Raw file to move across?

    I create separate folders based on the year and then the actual date of when I take images. You can make those folders anywhere on any hard drive that is connected to your Mac whether internal or external. I also use the Photoshop Photo Downloader that is included with Photoshop/Bridge and it will create the date folder so all I do is create a Year folder.
    Open Bridge or click on the Bridge icon in PS and in the File menu item in Bridge select "Get photos from Camera". It can be a camera connected to your Mac or a memory card from a camera. A window will open and you then select the camera or memory card. Set the location they will be downloaded to, just the folder and you can Browse to a folder that you created, then in the "Create  Subfolders drop down select what date stamp you want to use or or custom name or not to create subfolders at all.
    I've never cared for iPhoto one bit. I tried it but found it way to restrictive. It likes to have full control over how you interact with your images.

  • FM for getting the Service Ticket Details

    Hi Group,
    I have a requirement wherein, I need to get the Service Ticket(s) for the system when I pass the Status of the Service Ticket.
    The query is like:
    <b>Import </b>-> Passing the <b>Status</b> of the Ticket (like : <b>Assigned/Closed/Resolved </b>).
    <b>Export-</b>> Get the details of all the <b>Service Tickets</b> whose status is mentioned in the
                 <b> Import</b> Parameter..
    So please let me know of the <b>FM/BAP</b>I to achieve this task.
    thanks in advance.
    Regards,
    Amit.

    Hi Amit,
    You can use FM
    'CRM_SERVICE_PROCESSES_SEARCH'
    Here in 'Export' Parameter:: STATUS specify the status required
    Parameter: FROM and TO for dates.
    and collect the result from Import parameter: BUSINESS_PROCESSES_LIST
    Best Regards,
    Pratik Patel
    <b>Reward with Points!</b>

  • Just downloaded latest updates to Camera Raw for use with my new Sony RX100 M3 but still can't get the RAW files to open. Any suggestions?

    Just downloaded latest updates to Camera Raw for use with my new Sony RX100 M3 but still can't get the RAW files to open. Any suggestions?

    Never mind, I finally got it working, thanks!

  • Can we get the raw materials for a classified Material from MSEG table?

    Hi All,
    Can we get the raw materials for a classified Material from MSEG table using Order number?
    If yes How we can find it out for Past month only? As well how we can get the std price for this raw material.
    Please help me out,
    Thanks,
    Ravi

    Field STPRS (Standard price) From Table MBEW.
    Kanagaraja L

  • Is it possible to get the raw data?

    Hi,
    I am trying to do a program that sends to a server the data captured by a webcam, but I need to send it with java sockets.
    How can I get the raw data from a DataSource to send it myself?
    Thanks

    Hi
    It is absolutely possible to get the data - anyone you have in your org with basic SQL skills can move the data off to a standalone SQL server. This could be done most simply by backing up and restoring the DB using SQL Enterprise Manager.
    Moving the CAR/ART reporting tool would be more difficult... if you do actually use that for reporting (most people find it doesn't do what they need and don't use it for anything but basic troubleshooting, and get a third party package) then the best option may be to keep your publisher (possibly assigning it a new IP) and leave it running for as long as you need reporting.
    You would then need a new server to run your upgraded V6 CCM; you may find you need this anyway.
    Regards
    Aaron
    Please rate helpful posts...

  • Where to get the SSO ticket for a JCO-Connection from?

    Hey All,
    The szenario is, I've got a Java application and I want to connect to a SAP System. For this I want to use SSO. In the documentation of JCO I found this phrase:
    For SSO specify the user to be $MYSAPSSO2$ and pass the base64 encoded ticket as as the passwd parameter.
    Well... Now my question... Where to get this base64 ticket from? The problem is, I'm NOT using WebDynpro, it's a custom application running on client side. Now how to get the needed information? (PSE?)
    It would be great when you could give me a clue.
    Best regards,
    Kristian

    This linksactualy leads to the same place I mentioned where
    it installs the
    player over the Internet
    Another thing is that these players are said to be different
    for different
    browsers which means they are working together with a
    browser. I am looking
    for a player which allows to play SWF file directly, without
    a browser.
    I have such a player installed together with FLASH-8 - I am
    looking for
    such a player
    "DMennenoh" <[email protected]> wrote in
    message
    news:e2qgmu$t5r$[email protected]..
    > Does this help:
    >
    http://www.macromedia.com/shockwave/download/alternates/
    >
    > --
    > Dave -
    > Adobe Community Expert
    > www.blurredistinction.com
    > www.macromedia.com/support/forums/team_macromedia/
    >
    >

  • I have a new canon d7 mark ii and I can not get the raw picture to download in lightroom 6.  Lightroom says it does not recognize the raw format.  Is there a solution?

    Lightroom 6 will not open raw files from my new canon d7 mark II camera.  The program says "The files are not recognized by the raw format supported in Lightroom.  The Lightroom 6 is up to date.  Is there a quick fix to this issue?

    hamilton223 wrote:
    Is there a quick fix to this issue?
    Yeah - to learn to use the site search function:
    https://forums.adobe.com/search.jspa?q=7D+Mk+II&place=%2Fplaces%2F1383621&depth=ALL

  • How to get the raw data from particular document's schedule ?

    Hello,
    I am now able to get the data from a document usign RESTful Web Services SDK and what I need is to
    get the data not from the current version of the document but from the schedule that were executed some time ago
    with the older data than the current data.
    Any hints ?

    Hey Jacek,
    Please, look at the /schedules into Raylight API.
    Regards,
    Anthony

  • Get the raw/column number of a left-mouse clicked table cell

    is this possible to get the row/column number of
    a cell where a mouse is clicked? Accutally, i want to implement a
    dynamic one column list which the user can "Add" or "Delete" some entries. The
    "Add" function is all right. The "Delete" function
    makes me upset because I cannot catch the cell's location where the
    mouse is choosing. I tries to use "Active Cell", it seems does not
    work. Do you have any clue? is this possible to implement the dynamic list using the "listbox"? thanks

    I would use the EditPos property value.  In my testing, it always returned the row and column of the cell I had left-clicked on.

  • HT5182 If I have made edits, how do I get my raw file off of the iPad?

    This article explains how to get the RAW version of unedited photos off of the iPad, but how to I get the RAW version of edited photos? This makes iPhoto and a workflow that includes iPad seem a little silly if I can't get the RAW version out of the iPad....
    Thoughts?

    She is making in app purchases. Probably not knowing what that means to your monthly credit card bill. Use the Settings app to enable restrictions and turn on restrictions for iTunes, App Store and in app purchases, mabe some others too. The restrictions will be set with a passcode to prevent your daughter from changing them.
    Settings > General > Restrictions

  • Get the Data from a DataSource

    Hi,
    I start with JMF. I use a processor to get DataSource from an audio file. Until there, all runs very well.
    But after that, I would like to get the raw data of my DataSource to aplly a filter on these data and after that, to create a new DataSource with filters data and play these data with my processor.
    I searched in the API documentation of JMF but I did'nt find the solution to get the raw data of my DataSource !
    Someone could help me ? and give me an idea of how to proceed ?
    Thanks for yours answers.
    Sylvain.

    Hi,
    It seems no one has replied to this post. I have a sample code that can help getting raw data from a DataSource. Here it is:
              PushBufferDataSource source = null;
              source = (PushBufferDataSource)processor.getDataOutput();
              /* Now we can retrieve the PushBufferStreams that will enable us to
              * access the data from the camera
              PushBufferStream[] streams = source.getStreams();
              camStream = null;
              for (int i = 0; i < streams.length; i++) {
              /* Use the first Stream that is RGBFormat (there should be only one */
              if (streams.getFormat() instanceof RGBFormat) {
                   camStream = streams[i];
                   RGBFormat rgbf = (RGBFormat)streams[i].getFormat();
                   converter = new BufferToImage(rgbf);
                   break;
    Please let me know whether it helped solving your problem..
    Suresh

  • How can I copy pics back to the RAW format after loading in iPhoto?

    I downloaded pictures in the RAW format with no problem. Afterwards, I deleted them from my memory stick and am now trying to copy them to a jump drive in their original RAW format, but iPhoto converts them to JPEG. How can I get them back to the RAW format when copying to an external source?

    Welcome to the Apple Discussions.
    Select the pic in the iPhoto Window and go File -> Export and set the Kind to Original.
    Iphoto does not convert the files to JPEG. Your RAW is protected. What happens is that iPhoto makes a JPEG preview of the file. IF you drag from the iPhoto Window or export with the Kind: Current you get that Preview. Exporting as Original will get the RAW.
    Regards
    TD

  • Help I'm trying to update the raw plug-in in Elements

    Help I have been trying for the last couple of day to get the Raw plug for element6 on my imac to update. How do you do it it's driving me crazy!

    Elements has its own forum but you'd be better off posting here:
    http://forums.adobe.com/community/cameraraw

  • How do I get the custom template working?

    Hi, I have asked this here before and got a half answer, but on trying the answer things didn't work out, so I'm trying again as I feel the previous thread has been lost.
    I want to create a custom list template so that I can display a list of News Announcements on a home page as described on this page Business Catalyst Help | Using custom templates for modules
    I have done all it says; created a list template and saved it as listHome.tpl in the Layouts/Announcement folder. On the page I have linked to it with the following code
    {module,announcement,a template=”/Layouts/Announcement/listHome.tpl”}
    But it doesn't generate a list, the page merely displays the code. Seems simple enough, yet it won't work. Can anybody tell me where I am going wrong please?
    Thanks

    Thanks Adam, yes, I was getting the raw code, but correcting the code to module_announcement has fixed that. However, I am now getting 'No News found' instead which is not what I want either. On the news page I am using {module_announcement,a,}  This gives me the list of news announcements using the original list template, which is what I want on that page, you can see it here News  But on the home page, using this
    {module_announcement,78981, a template=”/Layouts/Announcement/listHome.tpl”}
    I get 'No News found' as the output, I was expectign just the one news announcement with the id of 78981. Ideally I want the code to generate the latest 2 news announcements.
    (This has also been posted on Linkedin BC Cafe, what ever solution I get I will post here for future reference for others).

Maybe you are looking for

  • Switching phones between users on the same account

    What would be the easiest way to do that? My brother is handing his iphone over to me and he is just going back to his old phone, just to make things clear

  • PLANNING fILE ENTRY TABLE

    Hi , If i want to find out the planning file entry for the materil , how can i find out ? please give me the table name . Transaction code i knoe MD21 , MDre & MDAB , i want to see it on table lavel . In which table i will get this information . Plea

  • Can't create a sequence within a pl/sql block with execute immediate.

    Hi All. I created a user and granted it the 'create sequence' privilege though a role. In a pl/sql block I try to create a sequence using 'execute immediate' but get a 1031-insufficient privileges error. If I grant create sequence directly to the use

  • Standard report appended image

    Hi, I'm using XPsp2, LV 2011sp1, standard report, append image VI. The appended image appears at a low resolution (screen resolution?) when printed. Text is perfect. If i resize the image to a larger resolution (dpi) it resizes it to fit within the m

  • Performance for large scale of objects

    I'm working on a project that requires thousands of buttons to be shown on a page. Each button presents an object instance. It tooks more than 20 seconds to display the page. Is there any way to improve the performance? or any other faster approaches