Class DefaultIdentityAsserter

java.lang.Object
com.tangosol.util.Base
com.tangosol.net.security.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
  • Field Details

  • Constructor Details

    • DefaultIdentityAsserter

      public DefaultIdentityAsserter()
  • Method Details

    • 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.