Package com.iplanet.sso

Examples of com.iplanet.sso.SSOTokenManager


   private SSOToken getToken()
   {
      try {
         HttpServletRequest request = (HttpServletRequest) PolicyContext.getContext(WEB_REQUEST_KEY);

         SSOTokenManager manager = SSOTokenManager.getInstance();

         SSOToken token = manager.createSSOToken(request);

         return token;

      } catch (Exception e) {
         log.debug("Failed to obtain SSO Token: " + e);
View Full Code Here


      {
         throw new IllegalArgumentException("Token cannot be null");
      }

      try {
         SSOTokenManager manager = SSOTokenManager.getInstance();

         return manager.isValidToken(token);

      }
      catch (Exception e)
      {
         log.debug("Failed to validate SSO Token: " + e);
View Full Code Here

      {
         throw new IllegalArgumentException("Token cannot be null");
      }

      try {
         SSOTokenManager manager = SSOTokenManager.getInstance();

         manager.destroyToken(token);

      }
      catch (Exception e)
      {
         log.debug("Failed to destroy SSO Token: " + e);
View Full Code Here

TOP

Related Classes of com.iplanet.sso.SSOTokenManager

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.