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
 java.lang.Object getAttribute(java.lang.String name)
          Get an attribute value given the attribute name
 java.util.Iterator getAttributeNames()
          Get an iterator over all attribute names
 java.lang.String getToken()
          Get the value of the identity token
 void setAttribute(java.lang.String name, java.lang.Object value)
          set a name/value attribute on this token
 

Method Detail

getToken

java.lang.String getToken()
Get the value of the identity token

Returns:
the identity token string

setAttribute

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

Parameters:
name -
value -

getAttribute

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

Parameters:
name -
Returns:

getAttributeNames

java.util.Iterator getAttributeNames()
Get an iterator over all attribute names

Returns:


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