Class ExtraUserInformation
java.lang.Object
net.sf.basedb.core.authentication.ExtraUserInformation
public class ExtraUserInformation extends Object
Class for holding extra information about a user.
Can be used by external authentication managers (see
AuthenticationManager
)
to return more information about a user.- Since:
- 3.3
- Author:
- Nicklas
-
Field Summary
-
Constructor Summary
Constructors Constructor Description ExtraUserInformation()
Creates a newExtraUserInformation
object. -
Method Summary
Modifier and Type Method Description String
getAddress()
The postal address to the user.String
getDescription()
A description of the user.String
getEmail()
Object
getExtended(String name)
Get an extended property value.String
getFax()
The fax number to the user.String
getName()
The full name of the user.String
getOrganisation()
The organisation of the user.String
getPhone()
The phone number to the user.String
getUrl()
An URL to the user homepage (or similar).void
setAddress(String address)
void
setDescription(String description)
void
setEmail(String email)
The email address to the user.void
setExtended(String name, Object value)
Set the value of an extended property.void
setFax(String fax)
void
setName(String name)
void
setOrganisation(String organisation)
void
setPhone(String phone)
void
setUrl(String url)
-
Field Details
-
name
-
organisation
-
address
-
phone
-
fax
-
email
-
url
-
description
-
extended
-
-
Constructor Details
-
ExtraUserInformation
public ExtraUserInformation()Creates a newExtraUserInformation
object.
-
-
Method Details
-
getName
The full name of the user. -
setName
-
getOrganisation
The organisation of the user. -
setOrganisation
-
getAddress
The postal address to the user. -
setAddress
-
getPhone
The phone number to the user. -
setPhone
-
getFax
The fax number to the user. -
setFax
-
getEmail
-
setEmail
The email address to the user. -
getUrl
An URL to the user homepage (or similar). -
setUrl
-
getDescription
A description of the user. -
setDescription
-
getExtended
Get an extended property value. -
setExtended
Set the value of an extended property.
-