Thanks, just a question tough!
From what I've read so far, the ClientLoginModule only stores the
credentials passed to it right? So when I perform a LoginContext.login(), it won't
actually validate my user, since the correct module (ldap) is stored on the server side
right? But, on my first EJB invocation the authentication really happens (its what
I've understood). So I should do something like this:
| LoginContext.login();
| myEJB = (EJB)ctx.lookup(JNDI);
| myEJB.somemethod();
|
| //now I can
| LoginContext.getSubject()
|
Is this correct?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4185536#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...