public class JAASIdentityAsserter extends Object implements IdentityAsserter
IdentityAsserter.| Constructor and Description |
|---|
JAASIdentityAsserter(String sConfigName)
Construct a JAASIdentityAsserter instance.
|
| Modifier and Type | Method and Description |
|---|---|
Subject |
assertIdentity(Object oToken, Service service)
Asserts an identity based on a token-based identity assertion.
|
public JAASIdentityAsserter(String sConfigName)
sConfigName - the name used as the index into the Configurationpublic Subject assertIdentity(Object oToken, Service service) throws SecurityException
assertIdentity in interface IdentityAsserteroToken - the token that asserts identity.service - the Service asserting the identity tokenSecurityException - if the identity assertion fails.