Package org.gatein.sso.agent
Class GenericAgent
- java.lang.Object
-
- org.gatein.sso.agent.GenericAgent
-
- Direct Known Subclasses:
OpenSSOAgentImpl
public abstract class GenericAgent extends Object
Base agent superclass used by other SSO agents (CAS, OpenAM)- Author:
- Marek Posolda
-
-
Field Summary
Fields Modifier and Type Field Description static StringAUTHENTICATED_CREDENTIALS
-
Constructor Summary
Constructors Constructor Description GenericAgent()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.exoplatform.container.ExoContainergetContainer()StringgetUserPrincipal(String username)voidsaveSSOCredentials(String username, javax.servlet.http.HttpServletRequest httpRequest)
-
-
-
Field Detail
-
AUTHENTICATED_CREDENTIALS
public static final String AUTHENTICATED_CREDENTIALS
- See Also:
- Constant Field Values
-
-
Method Detail
-
saveSSOCredentials
public void saveSSOCredentials(String username, javax.servlet.http.HttpServletRequest httpRequest)
-
getUserPrincipal
public String getUserPrincipal(String username)
- Parameters:
username-- Returns:
- gets the right username if the login input contains capital letters: EXOGTN-2267
-
getContainer
protected final org.exoplatform.container.ExoContainer getContainer()
- Returns:
- Gives the
ExoContainerthat fits best with the current context
-
-