org.apache.jetspeed.security.activeauthentication
Interface ActiveAuthenticationIdentityProvider


public interface ActiveAuthenticationIdentityProvider

ActiveAuthenticationIdentityProvider

Provides identity tokens used during active authentication to bridge the deficiencies in Java Login Modules and general Active Authentication patterns based on Java login modules. Creates a unique, short lived identity token, caching basic Authentication information across redirects, requests, and threads during the active authentication process. The life-time of this cached authentication information is meant to be very short lived.

Version:
$Id: $
Author:
David Sean Taylor

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
 

Method Detail

createIdentityToken

IdentityToken createIdentityToken()
Start an authentication event with the server, creating a new and unique identity token

Returns:
the newly created identity token

createIdentityToken

IdentityToken createIdentityToken(java.lang.String seed)
Start an authentication event with the server, creating a new and unique identity token

Parameters:
seed - seed information to add to token
Returns:
the newly created identity token

completeAuthenticationEvent

void completeAuthenticationEvent(java.lang.String token)
Completes an authentication event for a given authentication token

Parameters:
token - The token identifying the authentication event to be completed

getSessionAttributeNames

java.util.List getSessionAttributeNames()
Get a list of session attribute names that should be saved and restored upon authentication events

Returns:
list of session attribute names


Copyright © 1999-2011 The Apache Software Foundation. All Rights Reserved.