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 (seeAuthenticationManager
) to return more information about a user.- Since:
- 3.3
- Author:
- Nicklas
-
-
Constructor Summary
Constructors Constructor Description ExtraUserInformation()
Creates a newExtraUserInformation
object.
-
Method Summary
All Methods Instance Methods Concrete Methods 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)
-
-
-
Method Detail
-
getName
public String getName()
The full name of the user.
-
setName
public void setName(String name)
-
getOrganisation
public String getOrganisation()
The organisation of the user.
-
setOrganisation
public void setOrganisation(String organisation)
-
getAddress
public String getAddress()
The postal address to the user.
-
setAddress
public void setAddress(String address)
-
getPhone
public String getPhone()
The phone number to the user.
-
setPhone
public void setPhone(String phone)
-
getFax
public String getFax()
The fax number to the user.
-
setFax
public void setFax(String fax)
-
getEmail
public String getEmail()
-
setEmail
public void setEmail(String email)
The email address to the user.
-
getUrl
public String getUrl()
An URL to the user homepage (or similar).
-
setUrl
public void setUrl(String url)
-
getDescription
public String getDescription()
A description of the user.
-
setDescription
public void setDescription(String description)
-
-