org.apache.jetspeed.security.activeauthentication
Class ActiveAuthenticationIdentityProviderImpl

java.lang.Object
  extended by org.apache.jetspeed.security.activeauthentication.ActiveAuthenticationIdentityProviderImpl
All Implemented Interfaces:
org.apache.jetspeed.security.activeauthentication.ActiveAuthenticationIdentityProvider

public class ActiveAuthenticationIdentityProviderImpl
extends Object
implements org.apache.jetspeed.security.activeauthentication.ActiveAuthenticationIdentityProvider

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.

Version:
$Id: $
Author:
David Sean Taylor

Field Summary
(package private)  org.apache.jetspeed.cache.JetspeedCache cache
           
(package private)  List sessionAttributes
           
 
Constructor Summary
ActiveAuthenticationIdentityProviderImpl(org.apache.jetspeed.cache.JetspeedCache cache, List sessionAttributes)
           
 
Method Summary
 void completeAuthenticationEvent(String token)
           
 org.apache.jetspeed.security.activeauthentication.IdentityToken createIdentityToken()
           
 org.apache.jetspeed.security.activeauthentication.IdentityToken createIdentityToken(String seed)
           
private  org.apache.jetspeed.security.activeauthentication.IdentityToken createToken(String token)
           
 List getSessionAttributeNames()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

cache

org.apache.jetspeed.cache.JetspeedCache cache

sessionAttributes

List sessionAttributes
Constructor Detail

ActiveAuthenticationIdentityProviderImpl

public ActiveAuthenticationIdentityProviderImpl(org.apache.jetspeed.cache.JetspeedCache cache,
                                                List sessionAttributes)
Method Detail

createIdentityToken

public org.apache.jetspeed.security.activeauthentication.IdentityToken createIdentityToken(String seed)
Specified by:
createIdentityToken in interface org.apache.jetspeed.security.activeauthentication.ActiveAuthenticationIdentityProvider

createIdentityToken

public org.apache.jetspeed.security.activeauthentication.IdentityToken createIdentityToken()
Specified by:
createIdentityToken in interface org.apache.jetspeed.security.activeauthentication.ActiveAuthenticationIdentityProvider

createToken

private org.apache.jetspeed.security.activeauthentication.IdentityToken createToken(String token)

completeAuthenticationEvent

public void completeAuthenticationEvent(String token)
Specified by:
completeAuthenticationEvent in interface org.apache.jetspeed.security.activeauthentication.ActiveAuthenticationIdentityProvider

getSessionAttributeNames

public List getSessionAttributeNames()
Specified by:
getSessionAttributeNames in interface org.apache.jetspeed.security.activeauthentication.ActiveAuthenticationIdentityProvider


Copyright © 1999-2007 Apache Software Foundation. All Rights Reserved.