Sun OpenSSO Enterprise Policy Agent 3.0 User's Guide for J2EE Agents

Interface IAmSSOCache


Available API for Interface IAmSSOCache

public String getSSOTokenForUser(Object ejbContextOrServletRequest)

This method can be used to retrieve the SSO token for the logged-in user. If called from the web tier, this method passes an instance of javax.servlet.http.HttpServletRequest as an argument. If called from the EJB tier, this method passes an instance of javax.ejb.EJBContext as an argument. This method eradicates the need to use two separate methods in AmSSOCache to retrieve the SSO token.