This content has been marked as final.
Show 5 replies
-
1. Re: my login method is accessed twice
sionut2 Dec 23, 2006 6:45 AM (in response to sionut2)Come on, guys.. At least some tips where I should look for it..
I can't believe nobody faced this problem before ! -
2. Re: my login method is accessed twice
anil.saldhana Dec 26, 2006 1:29 PM (in response to sionut2)Is this for your own jaas login or the one done by JBoss?
One call maybe from the jbosssx and the other maybe from your own jaas auth. -
3. Re: my login method is accessed twice
sionut2 Dec 27, 2006 4:27 AM (in response to sionut2)"anil.saldhana@jboss.com" wrote:
Is this for your own jaas login or the one done by JBoss?
Indeed, this happens for my custom login module (com.xxx.MyCustomLoginModule2)."anil.saldhana@jboss.com" wrote:
One call maybe from the jbosssx and the other maybe from your own jaas auth.
I'm not sure I understand what you are saying.. I thought it should be only one call to login.. Anyway, do you have any advice on what should I change to get only one call to login ? -
4. Re: my login method is accessed twice
anil.saldhana Dec 28, 2006 11:52 AM (in response to sionut2)Can you not use a different application policy for your own logincontext.login() than the one specified for your web application?
-
5. Re: my login method is accessed twice
sionut2 Dec 28, 2006 12:48 PM (in response to sionut2)No.. I initialize the LoginContext with the same application policy name as in the sample above (i.e. emp-mft).