站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBOSS Portal 2.6 API 英文版文档

LDAPUserImpl - JBOSS Portal 2.6 API 英文版文档


org.jboss.portal.identity2.ldap
Class LDAPUserImpl

java.lang.Object
  extended byorg.jboss.portal.identity2.ldap.LDAPUserImpl
All Implemented Interfaces:
User

public class LDAPUserImpl
extends java.lang.Object
implements User

Version:
$Revision: 1.1 $
Author:
Boleslaw Dawidowicz

Field Summary
private  java.lang.String dn
           
private  java.lang.String id
           
private  UserProfileModule userProfileModule
           
 
Fields inherited from interface org.jboss.portal.identity.User
INFO_USER_EMAIL_FAKE, INFO_USER_EXTRA, INFO_USER_HOMEPAGE, INFO_USER_IM_AIM, INFO_USER_IM_ICQ, INFO_USER_IM_MSNM, INFO_USER_IM_SKYPE, INFO_USER_IM_YIM, INFO_USER_INTERESTS, INFO_USER_LAST_LOGIN_DATE, INFO_USER_LOCALE, INFO_USER_LOCATION, INFO_USER_OCCUPATION, INFO_USER_REGISTRATION_DATE, INFO_USER_SECURITY_ANSWER, INFO_USER_SECURITY_QUESTION, INFO_USER_SIGNATURE, INFO_USER_THEME, INFO_USER_TIME_ZONE_OFFSET, INFO_USER_VIEW_EMAIL_VIEW_REAL
 
Constructor Summary
private LDAPUserImpl()
           
  LDAPUserImpl(java.lang.String dn)
           
 
Method Summary
 java.lang.String getDn()
           
 boolean getEnabled()
          Disable the user.
 java.lang.String getFakeEmail()
           
 java.lang.String getFamilyName()
          The family name.
 java.lang.String getGivenName()
          The given name (firstname).
 java.lang.Object getId()
          The user identifier.
 java.util.Date getLastVisitDate()
          Return the last time the user logged in or null if this date is not known.
 java.util.Locale getPreferredLocale()
          Return the user preferred locale.
 ProfileMap getProfile()
          Returns the user properties.
 java.lang.String getRealEmail()
           
 java.util.Date getRegistrationDate()
           
 java.lang.String getSignature()
          Returns the signature.
 java.lang.String getTheme()
          Return the theme set for this user as the app id of the Theme.
 java.lang.String getUserName()
          The user name.
 UserProfileModule getUserProfileModule()
           
 boolean getViewRealEmail()
           
 void setEnabled(boolean enable)
          Enable the user.
 void setFakeEmail(java.lang.String fakeEmail)
           
 void setFamilyName(java.lang.String familyName)
           
 void setGivenName(java.lang.String givenName)
           
 void setId(java.lang.String id)
           
 void setLastVisitDate(java.util.Date date)
          Set the last visit date on this user.
 void setPreferredLocale(java.util.Locale locale)
          Set the user preferred locale.
 void setRealEmail(java.lang.String realEmail)
           
 void setSignature(java.lang.String signature)
          Set the signature.
 void setTheme(java.lang.String themeId)
          Set the theme for this user.
 void setUserName(java.lang.String userName)
           
 void setUserProfileModule(UserProfileModule userProfileModule)
           
 void setViewRealEmail(boolean viewRealEmail)
           
 void updatePassword(java.lang.String password)
          Set the password.
 boolean validatePassword(java.lang.String password)
          Return true if the password is valid.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

userProfileModule

private UserProfileModule userProfileModule

dn

private java.lang.String dn

id

private java.lang.String id
Constructor Detail

LDAPUserImpl

private LDAPUserImpl()

LDAPUserImpl

public LDAPUserImpl(java.lang.String dn)
             throws IdentityException
Method Detail

getEnabled

public boolean getEnabled()
Description copied from interface: User
Disable the user.

Specified by:
getEnabled in interface User

setEnabled

public void setEnabled(boolean enable)
Description copied from interface: User
Enable the user.

Specified by:
setEnabled in interface User

updatePassword

public void updatePassword(java.lang.String password)
Description copied from interface: User
Set the password.

Specified by:
updatePassword in interface User

validatePassword

public boolean validatePassword(java.lang.String password)
Description copied from interface: User
Return true if the password is valid.

Specified by:
validatePassword in interface User

getProfile

public ProfileMap getProfile()
Description copied from interface: User
Returns the user properties.

Specified by:
getProfile in interface User

getGivenName

public java.lang.String getGivenName()
Description copied from interface: User
The given name (firstname).

Specified by:
getGivenName in interface User

setGivenName

public void setGivenName(java.lang.String givenName)
Specified by:
setGivenName in interface User

getFamilyName

public java.lang.String getFamilyName()
Description copied from interface: User
The family name.

Specified by:
getFamilyName in interface User

setFamilyName

public void setFamilyName(java.lang.String familyName)
Specified by:
setFamilyName in interface User

getRealEmail

public java.lang.String getRealEmail()
Specified by:
getRealEmail in interface User

setRealEmail

public void setRealEmail(java.lang.String realEmail)
Specified by:
setRealEmail in interface User

getFakeEmail

public java.lang.String getFakeEmail()
Specified by:
getFakeEmail in interface User

setFakeEmail

public void setFakeEmail(java.lang.String fakeEmail)
Specified by:
setFakeEmail in interface User

getRegistrationDate

public java.util.Date getRegistrationDate()
Specified by:
getRegistrationDate in interface User

getViewRealEmail

public boolean getViewRealEmail()
Specified by:
getViewRealEmail in interface User

setViewRealEmail

public void setViewRealEmail(boolean viewRealEmail)
Specified by:
setViewRealEmail in interface User

getPreferredLocale

public java.util.Locale getPreferredLocale()
Description copied from interface: User
Return the user preferred locale.

Specified by:
getPreferredLocale in interface User

setPreferredLocale

public void setPreferredLocale(java.util.Locale locale)
Description copied from interface: User
Set the user preferred locale.

Specified by:
setPreferredLocale in interface User

getSignature

public java.lang.String getSignature()
Description copied from interface: User
Returns the signature.

Specified by:
getSignature in interface User

setSignature

public void setSignature(java.lang.String signature)
Description copied from interface: User
Set the signature.

Specified by:
setSignature in interface User

getLastVisitDate

public java.util.Date getLastVisitDate()
Description copied from interface: User
Return the last time the user logged in or null if this date is not known.

Specified by:
getLastVisitDate in interface User

setLastVisitDate

public void setLastVisitDate(java.util.Date date)
Description copied from interface: User
Set the last visit date on this user.

Specified by:
setLastVisitDate in interface User

getTheme

public java.lang.String getTheme()
Description copied from interface: User
Return the theme set for this user as the app id of the Theme.

Specified by:
getTheme in interface User

setTheme

public void setTheme(java.lang.String themeId)
Description copied from interface: User
Set the theme for this user.

Specified by:
setTheme in interface User

getDn

public java.lang.String getDn()

setId

public void setId(java.lang.String id)

getId

public java.lang.Object getId()
Description copied from interface: User
The user identifier.

Specified by:
getId in interface User

getUserProfileModule

public UserProfileModule getUserProfileModule()

setUserProfileModule

public void setUserProfileModule(UserProfileModule userProfileModule)

getUserName

public java.lang.String getUserName()
Description copied from interface: User
The user name.

Specified by:
getUserName in interface User

setUserName

public void setUserName(java.lang.String userName)