Sun Java System Access Manager Policy Agent 2.2 Guide for Sun Java System Application Server 8.2/9.0/9.1

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.