public class JAASIdentityAsserter extends Object implements IdentityAsserter
IdentityAsserter
.Constructor | Description |
---|---|
JAASIdentityAsserter(String sConfigName) |
Construct a JAASIdentityAsserter instance.
|
Modifier and Type | Method | 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 IdentityAsserter
oToken
- the token that asserts identity.service
- the Service asserting the identity tokenSecurityException
- if the identity assertion fails.