org.apache.jetspeed.security.activeauthentication
Interface IdentityToken


public interface IdentityToken

Identity Token

Holds a unique token identifying the current authentication process. This token can hold one or more unique name / value (object) attributes

Version:
$Id: $
Author:
David Sean Taylor

Method Summary
 Object getAttribute(String name)
          Get an attribute value given the attribute name
 Iterator getAttributeNames()
          Get an iterator over all attribute names
 String getToken()
          Get the value of the identity token
 void setAttribute(String name, Object value)
          set a name/value attribute on this token
 

Method Detail

getToken

String getToken()
Get the value of the identity token

Returns:
the identity token string

setAttribute

void setAttribute(String name,
                  Object value)
set a name/value attribute on this token

Parameters:
name -
value -

getAttribute

Object getAttribute(String name)
Get an attribute value given the attribute name

Parameters:
name -
Returns:

getAttributeNames

Iterator getAttributeNames()
Get an iterator over all attribute names

Returns:


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