public interface

AuthToken

implements Serializable
com.cenqua.fisheye.user.plugin.AuthToken
Known Indirect Subclasses

Class Overview

A token representing a successful login.

Instances of this class are stored in a Servlet session, and are long-lived. An instance may live longer than the FishEyeAuthenticator that created it. It should not (for example) contain connections to a database, etc.

Summary

Public Methods
abstract String getDisplayName()
The full name to use when displaying data by this user.
abstract String getEmail()
The email address of the user (if the underlying authenticator can automatically determine it).
abstract String getUsername()
The username used when authenticating the user

Public Methods

public abstract String getDisplayName ()

The full name to use when displaying data by this user.

Returns
  • the name to use for display purposes, or null.

public abstract String getEmail ()

The email address of the user (if the underlying authenticator can automatically determine it).

Returns
  • user's email address, or null if not known.

public abstract String getUsername ()

The username used when authenticating the user