Class DefaultIdentityAsserter

  • All Implemented Interfaces:
    IdentityAsserter

    public class DefaultIdentityAsserter
    extends Base
    implements IdentityAsserter
    The default implementation of the IdentityAsserter interface.

    The default implementation asserts that the token is a Subject.

    Author:
    dag 2009.11.16
    • Constructor Detail

      • DefaultIdentityAsserter

        public DefaultIdentityAsserter()
    • 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.