com.cenqua.fisheye.user.plugin
Class ExampleFishEyeAuthenticator.ExampleAuthToken

java.lang.Object
  extended by com.cenqua.fisheye.user.plugin.ExampleFishEyeAuthenticator.ExampleAuthToken
All Implemented Interfaces:
AuthToken, java.io.Serializable
Enclosing class:
ExampleFishEyeAuthenticator

public static class ExampleFishEyeAuthenticator.ExampleAuthToken
extends java.lang.Object
implements AuthToken

See Also:
Serialized Form

Constructor Summary
ExampleFishEyeAuthenticator.ExampleAuthToken(java.lang.String username)
           
 
Method Summary
 java.lang.String getDisplayName()
          The full name to use when displaying data by this user.
 java.lang.String getEmail()
          The email address of the user (if the underlying authenticator can automatically determine it).
 java.lang.String getUsername()
          The username used when authenticating the user
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExampleFishEyeAuthenticator.ExampleAuthToken

public ExampleFishEyeAuthenticator.ExampleAuthToken(java.lang.String username)
Method Detail

getUsername

public java.lang.String getUsername()
Description copied from interface: AuthToken
The username used when authenticating the user

Specified by:
getUsername in interface AuthToken

getEmail

public java.lang.String getEmail()
Description copied from interface: AuthToken
The email address of the user (if the underlying authenticator can automatically determine it).

Specified by:
getEmail in interface AuthToken
Returns:
user's email address, or null if not known.

getDisplayName

public java.lang.String getDisplayName()
Description copied from interface: AuthToken
The full name to use when displaying data by this user.

Specified by:
getDisplayName in interface AuthToken
Returns:
the name to use for display purposes, or null.