| org.josso.tc55.agent.jaas.CatalinaJAASRealm
CatalinaJAASRealm | public class CatalinaJAASRealm extends JAASRealm (Code) | | Catalina JAASRealm replacement that instantiates CatalinaSSOUser Principal instead of
GenericPrincipal.
author: Gianluca Brigandi version: CVS $Id: CatalinaJAASRealm.java 508 2008-02-18 13:32:29Z sgonzalez $ |
Method Summary | |
protected Principal | createPrincipal(String username, Subject subject) Construct and return a java.security.Principal instance
representing the authenticated user for the specified Subject. |
createPrincipal | protected Principal createPrincipal(String username, Subject subject)(Code) | | Construct and return a java.security.Principal instance
representing the authenticated user for the specified Subject. If no
such Principal can be constructed, return null.
The Principal constructed is *not* GenericPrincipal as in Catalina JAASRealm class,
but CatalinaSSOUser which is a SSOUser.
The Partner Application can access SSOUser-specific properties that are not available
in GenericPrincipal.
The JAASRealm superclass invokes this factory method to build the Catalina-specific
Principal from the Subject filled by the configured JAASLoginModule.
Parameters: subject - The Subject representing the logged in user |
|
|