Interface IdentityAsserter

All Known Implementing Classes:
DefaultIdentityAsserter, JAASIdentityAsserter

public interface IdentityAsserter
IdentityAsserter validates a token in order to establish a user's identity. The token is an identity assertion, a statement that asserts an identity.

A token is opaque to Coherence. It could be a standard type such as a SAML Assertion or a proprietary type.

Since:
Coherence 3.6
Author:
dag 2009.10.30
  • Method Summary

    Modifier and Type
    Method
    Description
    assertIdentity(Object oToken, Service service)
    Asserts an identity based on a token-based identity assertion.
  • Method Details

    • assertIdentity

      Subject assertIdentity(Object oToken, Service service) throws SecurityException
      Asserts an identity based on a token-based identity assertion.
      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.
      Since:
      Coherence 3.7 added service param which intentionally breaks compatibility with Coherence 3.6