Class HASingleSignOn

    • Method Detail

      • deregister

        protected void deregister​(String ssoId)
        Description copied from class: GlassFishSingleSignOn
        Deregister the specified single sign on identifier, and invalidate any associated sessions.
        Overrides:
        deregister in class GlassFishSingleSignOn
        Parameters:
        ssoId - Single sign on identifier to deregister
      • register

        protected void register​(String ssoId,
                                Principal principal,
                                String authType,
                                String username,
                                char[] password,
                                String realmName)
        Description copied from class: SingleSignOn
        Register the specified Principal as being associated with the specified value for the single sign on identifier.
        Overrides:
        register in class SingleSignOn
        Parameters:
        ssoId - Single sign on identifier to register
        principal - Associated user principal that is identified
        authType - Authentication type used to authenticate this user principal
        username - Username used to authenticate this user
        password - Password used to authenticate this user
      • associate

        public void associate​(String ssoId,
                              long ssoVersion,
                              Session session)
        Description copied from class: SingleSignOn
        Associate the specified single sign on identifier with the specified Session.
        Overrides:
        associate in class SingleSignOn
        Parameters:
        ssoId - Single sign on identifier
        ssoVersion - Single sign on version
        session - Session to be associated
      • lookup

        protected SingleSignOnEntry lookup​(String ssoId,
                                           long ssoVersion)
        Description copied from class: SingleSignOn
        Look up and return the cached SingleSignOn entry associated with this sso id value, if there is one; otherwise return null.
        Overrides:
        lookup in class SingleSignOn
        Parameters:
        ssoId - Single sign on identifier to look up
        ssoVersion - Single sign on version to look up
      • removeSession

        protected void removeSession​(String ssoId,
                                     Session session)
        Description copied from class: GlassFishSingleSignOn
        Remove a single Session from a SingleSignOn. Called when a session is timed out and no longer active.
        Overrides:
        removeSession in class GlassFishSingleSignOn
        Parameters:
        ssoId - Single sign on identifier from which to remove the session.
        session - the session to be removed.
      • isVersioningSupported

        public boolean isVersioningSupported()
        Description copied from class: SingleSignOn
        Return a boolean to indicate whether the sso id version is supported or not.
        Overrides:
        isVersioningSupported in class SingleSignOn