Method Summary |
|
protected SingleSignOnEntry | accessSession(SingleSignOnEntry entry, String jossoSessionId) Access sso session related with given entry. |
protected void | associateLocalSession(String ssoId, LocalSession localSession) Associate the specified single sign on identifier with the
specified Session. |
abstract protected Principal | authenticate(SSOAgentRequest request) Template method used by the agent to obtain a principal from a SSO Agent request. |
public String | buildBackToURL(HttpServletRequest hreq, String uri) This method builds the back_to URL value pointing to the given URI. |
protected void | deregister(String ssoId) Deregister the specified single sign on identifier, and invalidate
any associated sessions. |
public SSOAgentConfiguration | getConfiguration() |
public int | getDebug() |
public String | getGatewayLoginErrorUrl() Returns the Error Login Url of the Gateway. |
public String | getGatewayLoginUrl() Returns the Login Form Url of the Gateway. |
public String | getGatewayLogoutUrl() Returns the Logout Form Url of the Gateway. |
public GatewayServiceLocator | getGatewayServiceLocator() Obtains the Gateway Service Locator used by the SSOAgent to build
the concrete clients needed to query the Gateway services. |
public long | getL1CacheHits() |
public long | getL2CacheHits() |
public SSOPartnerAppConfig | getPartnerAppConfig(String contextPath) Returns the partner application configuration definition associtated with the given context. |
public long | getRequestCount() |
public SSOIdentityManager | getSSOIdentityManager() |
public SSOSessionManager | getSSOSessionManager() |
public long | getSessionAccessMinInterval() Gets the session access min interval. |
public String | getSinglePointOfAccess() Single Point of Access to the SSO infrastructure. |
public boolean | isPartnerApp(String contextPath) Returns true if the received context should be processed by this agent. |
protected void | localSessionDestroyedEvent(LocalSession session) Disassociates a Local Session from the Single Sign-on session since the Local Session
was destroyed. |
public void | localSessionEvent(LocalSessionEvent event) Acknowledge the occurrence of the specified event. |
abstract protected void | log(String message) Log a message on the Logger associated with our Container (if any). |
abstract protected void | log(String message, Throwable throwable) Log a message on the Logger associated with our Container (if any). |
protected SingleSignOnEntry | lookup(String ssoId) Look up and return the cached SingleSignOn entry associated with this
sso id value, if there is one; otherwise return null . |
public Cookie | newJossoCookie(String path, String value) This creates a new JOSSO Cookie for the given path and value. |
public SingleSignOnEntry | processRequest(SSOAgentRequest request) Authenticated a user session previously authenticated by the gateway. |
protected void | register(String ssoId, Principal principal, String authType) Register the specified Principal as being associated with the specified
value for the single sign on identifier. |
protected String | resolveAssertion(String assertionId) |
public void | setConfiguration(SSOAgentConfiguration cfg) |
public void | setDebug(int debug) |
public void | setGatewayLoginErrorUrl(String gatewayLoginErrorUrl) Sets the Error Login Url of the Gateway. |
public void | setGatewayLoginUrl(String gatewayLoginUrl) Sets the Login Form Url of the Gateway. |
public void | setGatewayLogoutUrl(String gatewayLogoutUrl) Sets the Logout Form Url of the Gateway. |
public void | setGatewayServiceLocator(GatewayServiceLocator gsl) Configures the Gateway Service Locator to be used by the SSOAgent. |
public void | setSessionAccessMinInterval(String v) Used by the configuraiton, to set the session access min interval. |
public void | setSessionAccessMinInterval(long sessionAccessMinInterval) Sets the session access min interval. |
public void | setSinglePointOfAccess(String singlePointOfAccess) Single Point of Access to the SSO infrastructure. |
public void | start() Starts the Agent. |
public void | stop() Stop the Agent. |