|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object atg.nucleus.logging.VariableArgumentApplicationLoggingImpl atg.nucleus.logging.ApplicationLoggingImpl atg.userprofiling.PropertyManager
public class PropertyManager
A service which keeps track of information about important properties for the Dynamo Personalization System. Includes system wide functionality that manages "well known" properties that the personalization engine expects.
Field Summary | |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string |
java.lang.String |
mContactInfoPropertyName
|
Fields inherited from interface atg.nucleus.logging.TraceApplicationLogging |
---|
DEFAULT_LOG_TRACE_STATUS |
Fields inherited from interface atg.nucleus.logging.ApplicationLogging |
---|
DEFAULT_LOG_DEBUG_STATUS, DEFAULT_LOG_ERROR_STATUS, DEFAULT_LOG_INFO_STATUS, DEFAULT_LOG_WARNING_STATUS |
Constructor Summary | |
---|---|
PropertyManager()
Constructs an instanceof PropertyManager |
Method Summary | |
---|---|
java.lang.String |
generatePassword(java.lang.String pClearTextPassword)
Returns the "password string" which should be used to represent the user's password, as returned by the encryptPassword() function of the current PasswordHasher. |
java.lang.String |
generatePassword(java.lang.String pLogin,
java.lang.String pClearTextPassword)
Returns the "password string" which should be used to represent the user's password, as returned by the encryptPassword() function of the current PasswordHasher. |
java.lang.String |
generatePasswordHash(java.lang.String pClearTextPassword)
Returns a hash representation of the password as returned by the encryptPassword() function of the current PasswordHasher. |
java.lang.String |
getAccessRightNamePropertyName()
|
java.lang.String |
getAccessRightsPropertyName()
|
java.lang.String |
getAncestorOrganizationsPropertyName()
|
java.lang.String |
getAutoLoginPropertyName()
Returns property AutoLoginPropertyName |
java.lang.String |
getContactInfoPropertyName()
Get property ContactInfoPropertyName |
java.lang.String |
getEmailAddressPropertyName()
Returns property EmailAddressPropertyName. |
java.lang.String |
getEmailStatusPropertyName()
Returns property EmailStatusPropertyName. |
java.lang.String |
getFirstNamePropertyName()
Returns property FirstNamePropertyName. |
java.lang.String |
getFullNamePropertyName()
Gets the fullNamePropertyName property. |
java.lang.String |
getGeneratedPasswordPropertyName()
Get the generated password property name. |
java.lang.String |
getLastEmailedPropertyName()
Get the last email property name. |
java.lang.String |
getLastNamePropertyName()
Returns property LastNamePropertyName. |
java.lang.String |
getLastPasswordUpdatePropertyName()
Get the last password update property name. |
java.lang.String |
getLocalePropertyName()
|
java.lang.String |
getLoggingIdentifier()
Returns property LoggingIdentifier |
java.lang.String |
getLoginPropertyName()
Returns property LoginPropertyName. |
java.lang.String |
getMiddleNamePropertyName()
Returns property MiddleNamePropertyName. |
java.lang.String |
getOrganizationPropertyName()
|
PasswordHasher |
getPasswordHasher()
Returns the current password hasher that's used to encrypt passwords. |
java.lang.String |
getPasswordPropertyName()
Returns property PasswordPropertyName. |
java.lang.String |
getPasswordSaltPropertyName()
get PasswordSaltPropertyName |
java.lang.String |
getPreviousPasswordsPropertyName()
Get the previous passwords property name. |
java.lang.String |
getReceiveEmailPropertyName()
Returns property ReceiveEmailPropertyName. |
java.lang.String |
getRegistrationDatePropertyName()
|
java.lang.String |
getRolesPropertyName()
|
java.lang.String |
getSecondaryOrganizationsPropertyName()
|
java.lang.String |
getSecureProtocolName()
|
int |
getSecurityStatusAnonymous()
|
int |
getSecurityStatusBasicAuth()
|
int |
getSecurityStatusCertificate()
|
int |
getSecurityStatusCookie()
|
int |
getSecurityStatusLogin()
|
java.lang.String |
getSecurityStatusPropertyName()
|
int |
getSecurityStatusSecureLogin()
|
int |
getSecurityStatusUrl()
|
boolean |
hasProperty(java.lang.String pPropertyName,
RepositoryItem pItem)
Returns true if the supplied profile supports the named property. |
boolean |
hasProperty(java.lang.String pPropertyName,
RepositoryItemDescriptor pItemDescriptor)
Returns true if the supplied repository item descriptor supports the named property. |
void |
setAccessRightNamePropertyName(java.lang.String pAccessRightNamePropertyName)
|
void |
setAccessRightsPropertyName(java.lang.String pAccessRightsPropertyName)
|
void |
setAncestorOrganizationsPropertyName(java.lang.String pAncestorOrganizationsPropertyName)
|
void |
setAutoLoginPropertyName(java.lang.String pAutoLoginPropertyName)
Sets property AutoLoginPropertyName |
void |
setContactInfoPropertyName(java.lang.String pContactInfoPropertyName)
Set property ContactInfoPropertyName |
void |
setEmailAddressPropertyName(java.lang.String pEmailAddressPropertyName)
Sets property EmailAddressPropertyName |
void |
setEmailStatusPropertyName(java.lang.String pEmailStatusPropertyName)
Sets property EmailStatusPropertyName |
void |
setFirstNamePropertyName(java.lang.String pFirstNamePropertyName)
Sets property FirstNamePropertyName |
void |
setFullNamePropertyName(java.lang.String pFullNamePropertyName)
Sets the fullNamePropertyName property |
void |
setGeneratedPasswordPropertyName(java.lang.String pGeneratedPasswordPropertyName)
Set the generated password property name. |
void |
setLastEmailedPropertyName(java.lang.String pLastEmailedPropertyName)
Set the last email property name. |
void |
setLastNamePropertyName(java.lang.String pLastNamePropertyName)
Sets property LastNamePropertyName |
void |
setLastPasswordUpdatePropertyName(java.lang.String pLastPasswordUpdatePropertyName)
Set the last password update property name. |
void |
setLocalePropertyName(java.lang.String pLocalePropertyName)
|
void |
setLoginPropertyName(java.lang.String pLoginPropertyName)
Sets property LoginPropertyName |
void |
setMiddleNamePropertyName(java.lang.String pMiddleNamePropertyName)
Sets property MiddleNamePropertyName |
void |
setOrganizationPropertyName(java.lang.String pOrganizationPropertyName)
|
void |
setPasswordHasher(PasswordHasher pHasher)
Changes the password hasher used for encrypting passwords. |
void |
setPasswordPropertyName(java.lang.String pPasswordPropertyName)
Sets property PasswordPropertyName |
void |
setPasswordSaltPropertyName(java.lang.String pPasswordSaltPropertyName)
set PasswordSaltPropertyName |
void |
setPreviousPasswordsPropertyName(java.lang.String pPreviousPasswordsPropertyName)
Set the previous passwords property name. |
void |
setReceiveEmailPropertyName(java.lang.String pReceiveEmailPropertyName)
Sets property ReceiveEmailPropertyName |
void |
setRegistrationDatePropertyName(java.lang.String pRegistrationDatePropertyName)
|
void |
setRolesPropertyName(java.lang.String pRolesPropertyName)
|
void |
setSecondaryOrganizationsPropertyName(java.lang.String pSecondaryOrganizationsPropertyName)
|
void |
setSecureProtocolName(java.lang.String pSecureProtocolName)
|
void |
setSecurityStatusAnonymous(int pSecurityStatusAnonymous)
|
void |
setSecurityStatusBasicAuth(int pSecurityStatusBasicAuth)
|
void |
setSecurityStatusCertificate(int pSecurityStatusCertificate)
|
void |
setSecurityStatusCookie(int pSecurityStatusCookie)
|
void |
setSecurityStatusLogin(int pSecurityStatusLogin)
|
void |
setSecurityStatusPropertyName(java.lang.String pSecurityStatusPropertyName)
|
void |
setSecurityStatusSecureLogin(int pSecurityStatusSecureLogin)
|
void |
setSecurityStatusUrl(int pSecurityStatusUrl)
|
Methods inherited from class atg.nucleus.logging.VariableArgumentApplicationLoggingImpl |
---|
vlogDebug, vlogDebug, vlogDebug, vlogDebug, vlogDebugTrace, vlogError, vlogError, vlogError, vlogError, vlogInfo, vlogInfo, vlogInfo, vlogInfo, vlogTrace, vlogTrace, vlogTrace, vlogTrace, vlogWarning, vlogWarning, vlogWarning, vlogWarning |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static java.lang.String CLASS_VERSION
public java.lang.String mContactInfoPropertyName
Constructor Detail |
---|
public PropertyManager()
Method Detail |
---|
public void setLoginPropertyName(java.lang.String pLoginPropertyName)
public java.lang.String getLoginPropertyName()
Login
.
public void setPasswordPropertyName(java.lang.String pPasswordPropertyName)
public java.lang.String getPasswordPropertyName()
Password
.
public void setPasswordSaltPropertyName(java.lang.String pPasswordSaltPropertyName)
pPasswordSaltPropertyName
- the PasswordSaltPropertyNamepublic java.lang.String getPasswordSaltPropertyName()
public void setFirstNamePropertyName(java.lang.String pFirstNamePropertyName)
public java.lang.String getFirstNamePropertyName()
FirstName
.
public void setMiddleNamePropertyName(java.lang.String pMiddleNamePropertyName)
public java.lang.String getMiddleNamePropertyName()
MiddleName
.
public void setLastNamePropertyName(java.lang.String pLastNamePropertyName)
public java.lang.String getLastNamePropertyName()
LastName
.
public void setFullNamePropertyName(java.lang.String pFullNamePropertyName)
pFullNamePropertyName
- public java.lang.String getFullNamePropertyName()
fullName
public void setAutoLoginPropertyName(java.lang.String pAutoLoginPropertyName)
public java.lang.String getAutoLoginPropertyName()
public PasswordHasher getPasswordHasher()
public void setPasswordHasher(PasswordHasher pHasher)
public void setReceiveEmailPropertyName(java.lang.String pReceiveEmailPropertyName)
public java.lang.String getReceiveEmailPropertyName()
ReceiveEmail
.
public void setEmailStatusPropertyName(java.lang.String pEmailStatusPropertyName)
public java.lang.String getEmailStatusPropertyName()
Email
.
public void setEmailAddressPropertyName(java.lang.String pEmailAddressPropertyName)
public java.lang.String getEmailAddressPropertyName()
Email
.
public void setContactInfoPropertyName(java.lang.String pContactInfoPropertyName)
ContactInfoPropertyName
pContactInfoPropertyName
- public java.lang.String getContactInfoPropertyName()
ContactInfoPropertyName
public void setSecurityStatusAnonymous(int pSecurityStatusAnonymous)
public int getSecurityStatusAnonymous()
public void setSecurityStatusUrl(int pSecurityStatusUrl)
public int getSecurityStatusUrl()
public void setSecurityStatusCookie(int pSecurityStatusCookie)
public int getSecurityStatusCookie()
public void setSecurityStatusBasicAuth(int pSecurityStatusBasicAuth)
public int getSecurityStatusBasicAuth()
public void setSecurityStatusLogin(int pSecurityStatusLogin)
public int getSecurityStatusLogin()
public void setSecurityStatusSecureLogin(int pSecurityStatusSecureLogin)
public int getSecurityStatusSecureLogin()
public void setSecurityStatusCertificate(int pSecurityStatusCertificate)
public int getSecurityStatusCertificate()
public void setSecurityStatusPropertyName(java.lang.String pSecurityStatusPropertyName)
public java.lang.String getSecurityStatusPropertyName()
public void setSecureProtocolName(java.lang.String pSecureProtocolName)
public java.lang.String getSecureProtocolName()
public void setLocalePropertyName(java.lang.String pLocalePropertyName)
public java.lang.String getLocalePropertyName()
public void setRolesPropertyName(java.lang.String pRolesPropertyName)
public java.lang.String getRolesPropertyName()
public void setOrganizationPropertyName(java.lang.String pOrganizationPropertyName)
public java.lang.String getOrganizationPropertyName()
public void setAncestorOrganizationsPropertyName(java.lang.String pAncestorOrganizationsPropertyName)
public java.lang.String getAncestorOrganizationsPropertyName()
public void setSecondaryOrganizationsPropertyName(java.lang.String pSecondaryOrganizationsPropertyName)
public java.lang.String getSecondaryOrganizationsPropertyName()
public void setAccessRightsPropertyName(java.lang.String pAccessRightsPropertyName)
public java.lang.String getAccessRightsPropertyName()
public void setAccessRightNamePropertyName(java.lang.String pAccessRightNamePropertyName)
public java.lang.String getAccessRightNamePropertyName()
public void setRegistrationDatePropertyName(java.lang.String pRegistrationDatePropertyName)
public java.lang.String getRegistrationDatePropertyName()
public void setLastEmailedPropertyName(java.lang.String pLastEmailedPropertyName)
public java.lang.String getLastEmailedPropertyName()
public void setPreviousPasswordsPropertyName(java.lang.String pPreviousPasswordsPropertyName)
public java.lang.String getPreviousPasswordsPropertyName()
public void setGeneratedPasswordPropertyName(java.lang.String pGeneratedPasswordPropertyName)
public java.lang.String getGeneratedPasswordPropertyName()
public void setLastPasswordUpdatePropertyName(java.lang.String pLastPasswordUpdatePropertyName)
public java.lang.String getLastPasswordUpdatePropertyName()
public boolean hasProperty(java.lang.String pPropertyName, RepositoryItem pItem)
pPropertyName
- the name of the property to look forpItem
- the user's profilepublic boolean hasProperty(java.lang.String pPropertyName, RepositoryItemDescriptor pItemDescriptor)
pPropertyName
- the name of the property to look forpItemDescriptor
- the item descriptorpublic java.lang.String generatePassword(java.lang.String pLogin, java.lang.String pClearTextPassword)
If PasswordHasher is an instance of PasswordHasher2, then the login is passed on to the encryptPassword call along with the password.
pLogin
- the user's login namepClearTextPassword
- the clear-text password to hashPasswordHasher.encryptPassword(java.lang.String)
public java.lang.String generatePassword(java.lang.String pClearTextPassword)
pClearTextPassword
- the clear-text password to hashPasswordHasher.encryptPassword(java.lang.String)
public java.lang.String generatePasswordHash(java.lang.String pClearTextPassword)
pClearTextPassword
- the clear-text password to hashPasswordHasher.encryptPassword(java.lang.String)
public java.lang.String getLoggingIdentifier()
ApplicationLoggingImpl
getLoggingIdentifier
in class ApplicationLoggingImpl
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |