Using a different GSSCredential for JNDI GSSAPI login

I have a server program which authenticates to a kerberos server using the GSSAPI Mechanisem. When I connect to my LDAP server using GSSAPI, it uses it's own credential by default. But what I want is to use a different GSSCredential, forwarded by the client to the server.
I have tried creating a Subject whit this GSSCredential and using doAs... which resulted in a "can not find ticket" error.
I have also tried creating a SocketFactory, which uses the credential to establish a security context whit the ldap server. But I can not let JNDI pickup the socket correctly. It always does a simple bind, or other which kills the socket connection.
So how should I use a GSSCredential to authenticate whit my ldap server using JNDI?

just closing the loop - i believe this is addressed in:
http://forum.java.sun.com/thread.jspa?threadID=665649

Similar Messages

  • How can I associate 2 appleids with one account or use a different Appleid for imessage as described in another post?

    How can I associate 2 appleids with one account or use a different Appleid for imessage as described in another post?
    I have rejoined the iPhone community, not with one iPhone but with two. My wife agreed to move from the unenlightened!
    I have set up both under my apple account and want to keep it that way. But I do not want iMessages going to both phones. I would like separate message queues but share all apps and other purches from the store.
    I have created a separate AppleID for her but under Settings>Message>Receive At (it currently says 2 addresses) > ... will not allow me to change the current eMail address and when I add hers (her appleid) it errors out. The only thing I can do in the Apple ID field is to manage my account and not change it to hers.
    How can I have 2 iPhones (and my iPad) on the same account but have separate identies?
    Thanks,
    LpGrumpy

    1. Yes. Restart with the Option key held down as needed.
    2. No, it won't be a problem.
    (83373)

  • How to use the different class for each screen as well as function.

    Hi Experts,
    How to use the different class for each screen as well as function.
    With BestRegards,
    M.Thippa Reddy.

    Hi ThippaReddy,
    see this sample code
    Public Class ClsMenInBlack
    #Region "Declarations"
        'Class objects
        'UI and Di objects
        Dim objForm As SAPbouiCOM.Form
        'Variables
        Dim strQuery As String
    #End Region
    #Region "Methods"
        Private Function GeRate() As Double
                Return Double
        End Function
    #End Region
    Public Sub SBO_Appln_MenuEvent(ByRef pVal As SAPbouiCOM.MenuEvent, ByRef BubbleEvent As Boolean)
            If pVal.BeforeAction = True Then
                If pVal.MenuUID = "ENV_Menu_MIB" Then
                End If
            Else ' Before Action False
                End If
        End Sub
    #End Region
    End Class
    End Class
    Rgds
    Micheal
    Vasu Anna Regional Feeling a???? Just Kidding
    Edited by: micheal willis on Jul 27, 2009 5:49 PM
    Edited by: micheal willis on Jul 27, 2009 5:50 PM

  • Reporting Services will not automatically use a different replica for the report server databases when a failover occurs. How to overcome this issue

    Reporting Services offers limited support for using AlwaysOn Availability Groups with report server databases. The report server databases can be configured in AG to be part of a replica; however Reporting Services will not automatically use a different
    replica for the report server databases when a failover occurs. How to overcome this issue? is there any workaround for that..
    Rahul

    Hi.
    With the AlwaysOn listener you should have a single DNS name to connect to regardless of which cluster node is active. Are you using the listener service? If not, please refer to the link below.
    http://msdn.microsoft.com/en-us/library/hh213417.aspx#AGlisteners

  • Use a different alphabet for a bulleted list

    Hi!
    I'm working on a bilingual user manual, Italian - Russian.
    I need to use a different alphabet for the bullet list in every language.
    By default indesing use the english alphabet "A B C D E F G H I J K.." and I need to change in "A B C D E F G H I L M N..."
    Can anyone help me?
    Thank you!

    I use the World Tools plugin for InDesign from in-tools.com to change my "numbered" lettered lists in translation from Latin script to Arabic script, Korean numbering (either Chosung or Ganada, thanks Harbs I've used both! ),  even circle numbering. Many different kinds of numbering/lettering are available to World Tools users. However, World Tools for CS4 doesn't offer every alphabet or abjad or syallabary for lettered lists, only some complex-script ones. I dunno about World Tools for CS5, but I've found in-tools to be really responsive to feature requests.
    That being said, it might make more sense to do this without automatic bulleting & numbering. I'd rather set up my own hanging indents and key in each Cyrillic letter myself - iff I knew that the number of entries in the list was not going to change.

  • Can I use a different charger for my iPhone other than the one that was supplied for it

    Can I use a different wall charger for my iPhone 4S other than the one that was supplied with it

    wjosten wrote:
    Lawrence Finch wrote:
    Apple puts no special requirements on it other than that it meet the USB spec.
    Except for the connector...
    What is special about the connector for the 4s charger cable? Mine is a normal USB connector. The question was about the wall charger, not the connector to the phone.

  • Is there a way to have Mail use a different signature for replies?

    I am wondering if there is a way to setup a different signature for new and reply emails. Typically I want to send people my full contact info in my signature in new emails I initiate, but just have a shorter signature with only my name and phone number on email replies. I know I can manually change the signature in an email, but given my volume of email, having to do this in every reply is a real nuisance.
    Setting this up is a standard feature in many mail programs I used, but I can't figure out how to do this in Mail. Anyone able to help?
    Thanks, N.

    There's no way within Mail. In theory it could be done with procmail, but that's a job for an expert.

  • Why does my app store use a different account for downloading and another for updating apps?

    My app store used my own account for downloading and my sister's for updating, and it keeps telling me to reset my account. I already did that the other few times it told me to do that!

    Have you restored your device from your sister's backup?

  • How do I use a different number for imessages than the one for my phone?

    I use two different phone numbers. My main number is not the one associated with my iphone. I want imessages to be sent from my primary number, not the one assigned by default by my phone. I see in settings where I can add another email address, but not where I can add another phone number. How can I change the default number to the one I actually want people to use?

    You can't add another phone number.

  • Using a different appleID for facetime on iPad

    I have a macbook pro and an iphone, both set up with my appleID. I recently bought two iPads for my children for school purposes. Both iPads have my appleID on them for apps and such. (I already purchased apps for my iphone and they're too young for their own appleIDs) I bought the iPads through my wireless carrier since I got a deal for adding them on to my existing contract. Therefore, both ipads came with their own numbers, although I can't seem to figure out how to make those numbers work with the ipads. I'm trying to figure out how to make the given numbers work on their individual ipads so they can facetime distant relatives without distrupting each other or me. (When one device receives a facetime request, they all do) Is there some way I can make this happen? While continuing to use my appleID for apps?  I apologize if I'm not being clear. Perhaps that's why I can't seem to figure this out for myself. Any help would be appreciated. Thanks

    Find my phone is part of iCloud, so if she uses her own ID for iCloud you can't track her device.
    A better solution would be to download and use the Find My Friends App.

  • Can I use a different ID for app store than icloud on iphone?

    In our household we share an ID for itunes so that we do not have to buy a separate instance of an app for each device we own. This causes a problem when someone wants to use their phone to buy an app since there is a different ID on the iphone than the computer's itunes account where most apps are purchased. THe itunes account will wipe out anything that was bought through the phone every time it syncs.
    So, is it possible to have the app store on the idevice connected to a separate id than the icloud stuff that is used for mail and calendar?

    Yeah. I don't think that is possible. I know you can have seperate user accounts on 1 computer. But the data from each would be different.

  • Can I use a different name for billing, than what's on the debit/credit card? (My cousin is letting me use his)

    My cousin is letting me use his card to make purchases on the app store, I pay him whenever I'm going to buy something. And I don't want to use his name for my icloud, because I share photo streams and it's just weird.

    I explained that in the original post.
    My iTunes account was once compromised. Isn't iTunes login and psw the same as Apple ID and iCloud?
    It is the idea of using the same login and psw for several things.

  • Using a different mapping for USB keyboard connected to MacBook

    I just picked up an Apple keyboard and I'm now using my Macbook in clamshell mode, connected to an external monitor, keyboard and mouse. I love the Apple keyboard, but one problem I've run into is that there doesn't seem to be an obvious way to apply a different keyboard mapping to the USB keyboard. For example, I'd love to set Spaces to the F5 key when it's running in clamshell mode, but I still want it set to the F8 key on my MacBook when I'm on the move. Keep in mind I'm using a mid-2007 MacBook, so the keyboard layout isn't the same as new MacBooks and keyboards (http://is.gd/3fuq).
    Does anyone know of any way to load up separate keyboard mappings based on the presence of a USB keyboard? I'd love to do it through the system if possible, but if it's not I'm willing to revert to 3rd party software to handle it if it's solid.
    Thanks in advance!
    Message was edited by: Grant Heaslip

    I work in two languages (Italian and English). The keyboard on my MacBook is English. When not on the road, I plug in an Apple Italian keyboard. Using System Preferences I always keep the input menu quickly available from the menu bar, allowing me to instantly switch from Italian to English.
    I have mapped various F keys using the Mac's own options for Exposé and Dashboard, and then other keys I have mapped with OneKey (opening frequently used applications). OneKey is rock-solid. and I've been using it for several years without the slightest hitch. There are other apps that do similar things but I've found them less reliable.
    With a bit of care, you can get the same mappings to work with both keyboards although of course on the MacBook, you have to press Fn + the F key. On the full size keyboard you only need to press the F key.
    Works well for me. I never open my most important apps by going to the dock. I just hit an F key.

  • Same item used in different pages & for different tables

    Hi,
    i created some items, which work like a filter for my tables. I've got a lot of tables and the items have always the same function. They filter the same column but they're used for different tables! If i want to copy 1 item to another page, it's forbidden to use the same name again and that's the reason why I've got to customize every item for every page. I can copy the items but i have to change the name and thats why i have to update the item name in my SQL Query & the Tablename. All which is marked i have to change for every page(new table)!
    where upper(TABLENAME) like '%' || upper(:P158_FILTER_TABLENAME) || '%'
    AND upper(KEYVALUE) like '%' || upper(:P158_FILTER_KEYVALUE) || '%'
    AND DATE_INSERTED_PDW >= to_date(:P158_FILTER_DATE_INSERTED_PDW,'DD.MM.YYYY')
    P158_FILTER_TABLENAME:
    select distinct TABLENAME d, TABLENAME r
    from ERR_MAPL //it's the tablename I have to update it on every new page/table
    order by 1
    By a Process I created i have the same Problem it's the same Process, it's only used in differnet tables:
    BEGIN
    FOR ii IN 1 .. WWV_Flow.g_f01.COUNT -- the row selector
    LOOP
    UPDATE ERR_MAPL SET RELOAD_FLAG = 1
    WHERE ERR_ID = WWV_Flow.g_f02(WWV_Flow.g_f01(ii));
    END LOOP;
    END;
    THX Mat
    Message was edited by:
    user552848

    Hi Carl Rutter,
    You have to creat 2 special production order for this item. when issue the component make sure you issue the stock as per the cosumption becaue one have 10mmx10mm and the another item have 50x50 in this case you issue component by square inch wise. for example 10*10 = 100 squre inch.
    50*50 = 2500 square inch so the cost will be approtionate. you can Use multiple uom method to obtain this, other wise you have covert into stock then you issue the component. If you want traxk size wise ,you can use batch option for Finishe goods.
    Regards
    Sridharan

  • Use a different paint for different components

    Dear all,
    I would really appreciate it if you could help me with an AWT problem that I am facing. I want to develop an application in which several images will be printed into the same frame (i.e. a background image, several images containing objects etc.). But I want the images to be "updated" according to the user's prefereneces (e.g. when he/she presses button A, only the image containing the object A should be redrawn, whilst if he/she presses the button B, only the image containing object B should be repainted). Until this moment, I have implemented a class containing a paint method where I include different if cases in order to repaint the corresponding objects on the user's input. I was wondering if there is any other easier way to achieve my ends (e.g. use different paint functions in the same class, making each paint responsible for the drawing of a certain image, and then call the corresponding paint on the user's input). I would really appreciate if you could help me by giving me some advice and/or some sample source code.
    Thank you in advance,
    Sincerely yours,
    Enginejim

    Hi NK,
    if you use Transparent Data Encryption you can choose between column encryption and tablespace encryption (or a mix)
    and the master key for both can only be stored in the same wallet (in 11gR2 we have a unified master key for both).
    Also an important concept of TDE is that it is tranparent: application users do not need to know any encryption key (passphrase),
    when you are asking that
    need to encrypt certain columns and these columns should be accessible to certain users who know a "key phrase" - and not othersthen you are making a common conceptual mistake, which is to confuse encryption with access control, there's actually a good
    statement about this in the security guide here: Principle 1: Encryption Does Not Solve Access Control Problems
    http://docs.oracle.com/cd/E11882_01/network.112/e16543/data_encryption.htm#i1006159
    So if some users should not have access to certain data, please solve this with access controls in combination with VPD,
    trying to solve it with encryption is simply ill-advised,
    greetings,
    Harm ten Napel
    Edited by: hnapel on Jan 24, 2013 8:14 AM

Maybe you are looking for

  • How to handle marked rows in an ALV table

    Hi Experts, there is an ALV table in my Web Dynpro. It has a functionality to handle one marked row via lead selection. This is the coding to get the marked row: lr_nd_ma_leist = wd_context->get_child_node( name = wd_this->wdctx_tab_ma_leist ). lr_el

  • Itune wont start

    i have installed the itunes without any problem. but when i try to run it, it loads for 2sec and nothing happens anymore......so i cant use my itune right now....i tried reinstalling it several times but it wont work...why? pls help me

  • Current Year and YTD Calculation

    Hi All, I have fiscal year and fiscalyear/period two time chars........in my report i want one column as current year and the other coulmn as current year YTD(year to date)......... fiscalyear/period values are between 1 to 12 fiscal year values 1999

  • Site decreased in size and forced left on mobile devices

    Someone please help me with this, I have tried inserting codes and what not to fix it, but to no success. It wasn't always like this, and I am not sure how it happened, might have to do with the iOS update. Anyone experiencing the same issues? 

  • AIR2 and Crystal Reports

    Hi, I need to build a simple Flex front end for a bunch of Crystal Reports, basically a few forms, which supposed to pass params to CR (select reports, dates, filter params, sort of building SQL Query:  select * from... where param1='value1'...). Let