Class JAASIdentityAsserter

    • Constructor Detail

      • JAASIdentityAsserter

        public JAASIdentityAsserter​(String sConfigName)
        Construct a JAASIdentityAsserter instance.
        Parameters:
        sConfigName - the name used as the index into the Configuration
    • Method Detail

      • assertIdentity

        public Subject assertIdentity​(Object oToken,
                                      Service service)
                               throws SecurityException
        Asserts an identity based on a token-based identity assertion.
        Specified by:
        assertIdentity in interface IdentityAsserter
        Parameters:
        oToken - the token that asserts identity.
        service - the Service asserting the identity token
        Returns:
        a Subject representing the identity.
        Throws:
        SecurityException - if the identity assertion fails.