Could someone please comment (advantages/disadvantages) on the use of a custom 
handler to authenticate against a security server 
(SimpleAuthenticationHandler.java, HTTPAuthHandler.java), as opposed to using a 
JAAS login module to do the same (UsernamePasswordLoginModule.java).

The requirement is to use http basic auth to facilitate interoperability.
The security server returns a token that is later used for authorization 
purposes.
The token will be stored in the MessageContext to be passed to a custom 
provider that uses a dynamic proxy to forward requests to various backend EJB 
containers.

Using a JAAS module with credential caching enabled on Tomcat, how to guarantee 
that the token is passed to the MessageContext (of the relevant request) in the 
handler chain.

Are there any descriptor samples or documentation for custom handlers (other 
than Axis-specific deployment descriptor).

Comments appreciated.

Darma


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3865974#3865974

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3865974


-------------------------------------------------------
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

Reply via email to