Skip navigation links

Oracle® Coherence Java API Reference
Release 12.1.2.0.3

E26043-02


com.tangosol.net.security
Class DefaultIdentityAsserter

java.lang.Object
  extended by com.tangosol.util.Base
      extended by 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 Summary
static DefaultIdentityAsserter INSTANCE
          An instance of the DefaultIdentityAsserter.

 

Constructor Summary
DefaultIdentityAsserter()
           

 

Method Summary
 javax.security.auth.Subject assertIdentity(java.lang.Object oToken, Service service)
          Asserts an identity based on a token-based identity assertion.

 

Field Detail

INSTANCE

public static final DefaultIdentityAsserter INSTANCE
An instance of the DefaultIdentityAsserter.

Constructor Detail

DefaultIdentityAsserter

public DefaultIdentityAsserter()

Method Detail

assertIdentity

public javax.security.auth.Subject assertIdentity(java.lang.Object oToken,
                                                  Service service)
                                           throws java.lang.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:
java.lang.SecurityException - if the identity assertion fails.

Skip navigation links

Oracle® Coherence Java API Reference
Release 12.1.2.0.3

E26043-02


Copyright © 2000, 2014, Oracle and/or its affiliates. All rights reserved.