Package com.tangosol.net.security
Class JAASIdentityAsserter
- java.lang.Object
-
- com.tangosol.net.security.JAASIdentityAsserter
-
- All Implemented Interfaces:
IdentityAsserter
public class JAASIdentityAsserter extends Object implements IdentityAsserter
JAAS-based implementation ofIdentityAsserter
.- Author:
- as 2011.12.23
-
-
Constructor Summary
Constructors Constructor Description JAASIdentityAsserter(String sConfigName)
Construct a JAASIdentityAsserter instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Subject
assertIdentity(Object oToken, Service service)
Asserts an identity based on a token-based identity assertion.
-
-
-
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 interfaceIdentityAsserter
- 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.
-
-