on 03-18-2004 8:31 PM
Hi,
I have written a custom login module.(using AbstarctLoginModule)
In its login() method I want to check the user against an active userstore.
To do this I need to look up the securitycontext to get to the userstore.
I tried doing a lookup on "security". This is returning a value of null.
any idea why? Is this because the securitycontext is a non serializable object.
Do I need to use RemoteLoginContext?
please help.
thanks a lot
Padmaja Ragavendra
Hi,
I was able to do a jndi lookup on the client side using the remote login api's.
But on the server side I am not able to do a lookup of the security service or the context.
I am getting a class cast exception.
In the session bean I did a jndi.lookup(security)
which I think gives the security service
so should be able to cast it to the RemoteServiceReference
When I cast it to that it gives a class cast exception.
Any idea how I should get a securitycontext object on the server side I need it to do authorization.
thanks
Padmaja
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
91 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.