I would like to generate a token on successful password login, and then be able to use that token to access EJBs.
I found this relatively straightforward to implement for a fat client: the client uses a LoginModule that generates a token, and then shares that token with ClientLoginModule, which ensures that it is sent with each subsequent EJB call. The EJBs are associated with a security domain whose LoginModule validates the token. I have a problem trying to do something similar with web applications. It seems that j_security_check/j_password will be passed as the credential to the EJBs. Because the EJBs' LoginModule is expecting a token, authentication fails. The password seems to be placed on the session during login, within a JBossGenericPrincipal. It gets picked up by the SecurityInterceptor on EJB calls and passed to the security manager for authentication. Is there a straightforward way to get JBoss to remember my token instead of the password? Thanks, Rob. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3865724#3865724 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3865724 ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ JBoss-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-user
