AuthenticatedUser
instead@Deprecated
public class AuthenticationInformation
extends java.lang.Object
Authenticator.authenticate(String, String)
method and contains information about the authenticated
user. The only required fields are id
and login
.
The id
may or may not be the same as the login
,
but must be a unique string identifying the user.
If the implementation supports extra information, ie. the call to
Authenticator.supportsExtraInformation()
returns TRUE, the other fields may also contain information.
Modifier and Type | Field and Description |
---|---|
java.lang.String |
address
Deprecated.
The postal address to the user.
|
java.lang.String |
description
Deprecated.
A description of the user.
|
java.lang.String |
email
Deprecated.
The email address to the user.
|
java.lang.String |
fax
Deprecated.
The fax number to the user.
|
boolean |
hasExtraInfo
Deprecated.
TRUE if the extra information has been provided, FALSE if not.
|
java.lang.String |
id
Deprecated.
A unique id for the user in the authentication system.
|
java.lang.String |
login
Deprecated.
The login for the user.
|
java.lang.String |
name
Deprecated.
The full name of the user.
|
java.lang.String |
organisation
Deprecated.
The organisation of the user.
|
java.lang.String |
phone
Deprecated.
The phone number to the user.
|
java.lang.String |
url
Deprecated.
An URL to the user homepage (or similar).
|
Constructor and Description |
---|
AuthenticationInformation(java.lang.String login,
java.lang.String id)
Deprecated.
Creates a new
AuthenticationInformation object without
extra information. |
AuthenticationInformation(java.lang.String login,
java.lang.String id,
java.lang.String name,
java.lang.String organisation,
java.lang.String address,
java.lang.String phone,
java.lang.String fax,
java.lang.String email,
java.lang.String url,
java.lang.String description)
Deprecated.
Creates a new
AuthenticationInformation object with extra
information. |
Modifier and Type | Method and Description |
---|---|
private static boolean |
allNull(java.lang.Object... objects)
Deprecated.
|
public final boolean hasExtraInfo
public final java.lang.String id
public final java.lang.String login
id
.public final java.lang.String name
public final java.lang.String organisation
public final java.lang.String address
public final java.lang.String phone
public final java.lang.String fax
public final java.lang.String email
public final java.lang.String url
public final java.lang.String description
public AuthenticationInformation(java.lang.String login, java.lang.String id)
AuthenticationInformation
object without
extra information.public AuthenticationInformation(java.lang.String login, java.lang.String id, java.lang.String name, java.lang.String organisation, java.lang.String address, java.lang.String phone, java.lang.String fax, java.lang.String email, java.lang.String url, java.lang.String description)
AuthenticationInformation
object with extra
information.login
- The login
nameid
- The unique id
of the username
- The name
of the userorganisation
- The organisation
of the useraddress
- The address
of the userphone
- The phone
of the userfax
- The fax
of the useremail
- The email
of the userurl
- The url
of the userdescription
- The description
of the userjava.lang.NullPointerException
- If the login or id is null