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(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(String seed)
          Start an authentication event with the server, creating a new and unique identity token
 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(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(String token)
Completes an authentication event for a given authentication token

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

getSessionAttributeNames

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-2007 Apache Software Foundation. All Rights Reserved.