|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.jetspeed.security.activeauthentication.ActiveAuthenticationIdentityProviderImpl
public class ActiveAuthenticationIdentityProviderImpl
AuthenticationCacheBeanImpl
Short-lived cache implementation to bridge deficiencies in Java Login Modules and general Active Authentication patterns based on Java login modules. Caches Authentication information across redirects, requests, and threads. The life-time of this cached authentication information is meant to be very short lived.
Constructor Summary | |
---|---|
ActiveAuthenticationIdentityProviderImpl(JetspeedCache cache,
java.util.List sessionAttributes)
|
Method Summary | |
---|---|
void |
completeAuthenticationEvent(java.lang.String token)
Completes an authentication event for a given authentication token |
IdentityToken |
createIdentityToken()
Start an authentication event with the server, creating a new and unique identity token |
IdentityToken |
createIdentityToken(java.lang.String seed)
Start an authentication event with the server, creating a new and unique identity token |
java.util.List |
getSessionAttributeNames()
Get a list of session attribute names that should be saved and restored upon authentication events |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ActiveAuthenticationIdentityProviderImpl(JetspeedCache cache, java.util.List sessionAttributes)
Method Detail |
---|
public IdentityToken createIdentityToken(java.lang.String seed)
ActiveAuthenticationIdentityProvider
createIdentityToken
in interface ActiveAuthenticationIdentityProvider
seed
- seed information to add to token
public IdentityToken createIdentityToken()
ActiveAuthenticationIdentityProvider
createIdentityToken
in interface ActiveAuthenticationIdentityProvider
public void completeAuthenticationEvent(java.lang.String token)
ActiveAuthenticationIdentityProvider
completeAuthenticationEvent
in interface ActiveAuthenticationIdentityProvider
token
- The token identifying the authentication event to be completedpublic java.util.List getSessionAttributeNames()
ActiveAuthenticationIdentityProvider
getSessionAttributeNames
in interface ActiveAuthenticationIdentityProvider
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |