org.apache.jetspeed.security.activeauthentication
Class IdentityTokenImpl

java.lang.Object
  extended by org.apache.jetspeed.security.activeauthentication.IdentityTokenImpl
All Implemented Interfaces:
java.io.Serializable, IdentityToken

public class IdentityTokenImpl
extends java.lang.Object
implements IdentityToken, java.io.Serializable

IdentityTokenImpl

Version:
$Id: $
Author:
David Sean Taylor
See Also:
Serialized Form

Constructor Summary
IdentityTokenImpl(java.lang.String uniqueToken)
           
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IdentityTokenImpl

public IdentityTokenImpl(java.lang.String uniqueToken)
Method Detail

getAttribute

public java.lang.Object getAttribute(java.lang.String name)
Description copied from interface: IdentityToken
Get an attribute value given the attribute name

Specified by:
getAttribute in interface IdentityToken
Returns:

getAttributeNames

public java.util.Iterator getAttributeNames()
Description copied from interface: IdentityToken
Get an iterator over all attribute names

Specified by:
getAttributeNames in interface IdentityToken
Returns:

getToken

public java.lang.String getToken()
Description copied from interface: IdentityToken
Get the value of the identity token

Specified by:
getToken in interface IdentityToken
Returns:
the identity token string

setAttribute

public void setAttribute(java.lang.String name,
                         java.lang.Object value)
Description copied from interface: IdentityToken
set a name/value attribute on this token

Specified by:
setAttribute in interface IdentityToken


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