Hi,
   I am working on an application which uses WAS security service. From the
client an ORB instance is created and security context is established using
the 'SecurityCurrent' service. The authentication data is set on the thread
using the request_login method of _LoginHelper class provided by WAS. When
the client tries to access an EJB deployed in WAS and protected by security,
the server pulls the authentication data and does authentication.

The getCallerIdentity() method of the SessionContext of EJB gives the User
Identity. I am trying to get the user information from  the underlying ORB.
How can the server side ORB instance be obtained? I tried using
com.ibm.ejs.oa.EJSORB.getORBInstance(). The get_current() method of this ORB
instance gives exception
org.omg.CORBA.NO_IMPLEMENT:   minor code: 0  completed: No
Is there any alternate method to obtain user information from the ORB
instance?
Can the user identity be obtained from a normal java class outside WAS
without information being passed from a bean?

Thanks & Regards
---------------------------------------
Biju Nair
Infosys
Ph:8520261 Ext.51157

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to