public class PropertyManager extends ApplicationLoggingImpl
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CLASS_VERSION
Class version string
|
java.lang.String |
mContactInfoPropertyName |
DEFAULT_LOG_TRACE_STATUSDEFAULT_LOG_DEBUG_STATUS, DEFAULT_LOG_ERROR_STATUS, DEFAULT_LOG_INFO_STATUS, DEFAULT_LOG_WARNING_STATUS| Constructor and Description |
|---|
PropertyManager()
Constructs an instanceof PropertyManager
|
| Modifier and Type | Method and Description |
|---|---|
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 pClearTextPassword,
PasswordHasher pPasswordHasher)
Returns the "password string" which should be used to represent the user's
password, as returned by the encryptPassword() function of the password
hasher provided.
|
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 |
generatePassword(java.lang.String pLogin,
java.lang.String pClearTextPassword,
PasswordHasher pPasswordHasher)
Returns the "password string" which should be used to represent the user's
password, as returned by the encryptPassword() function of the
PasswordHasher provided.
|
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 |
generatePasswordHash(java.lang.String pClearTextPassword,
PasswordHasher pPasswordHasher)
Returns a hash representation of the password as returned by the
encryptPassword() function of the PasswordHasher sent as a parameter.
|
java.lang.String |
generatePasswordSalt(java.lang.String pLogin) |
java.lang.String |
getAccessRightNamePropertyName() |
java.lang.String |
getAccessRightsPropertyName() |
PasswordHasher |
getAlternateUserPasswordHasher()
Returns the alternate password hasher used when user profile doesn't have a
password hasher associated.
|
java.lang.String |
getAncestorOrganizationsPropertyName() |
java.lang.String |
getAutoLoginPropertyName()
Returns property AutoLoginPropertyName
|
java.lang.String |
getContactInfoPropertyName()
Get property
ContactInfoPropertyName |
java.lang.String |
getCryptoAgilityPasswordHasherCode(java.lang.String cryptoAgilityPasswordHasherValue)
To fetch the the password hasher code using respective password hasher
value from the Map cryptoAgilityPasswordHashers
|
java.util.Map |
getCryptoAgilityPasswordHashers()
Returns the Map of the password hashers which are compatible with the
crypto agility model.
|
java.lang.String |
getCryptoAgilityPasswordHasherValue(java.lang.String cryptoAgilityPasswordHasherCode)
To fetch the the password hasher value using respective password hasher
code from the Map cryptoAgilityPasswordHashers
|
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() |
atg.security.PasswordHasherConfigurer |
getPasswordHasherConfigurer()
Returns the password hasher configurer that contains password hasher info.
|
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() |
java.lang.String |
getUserPasswordHasherPropertyName()
get user Password hasher PropertyName
|
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 |
setAlternateUserPasswordHasher(PasswordHasher pAlternateUserPasswordHasher)
Changes the alternate password hasher.
|
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 |
setCryptoAgilityPasswordHashers(java.util.Map cryptoAgilityPasswordHashers)
Changes the crypto agility password hashers map.
|
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 |
setPasswordHasherConfigurer(atg.security.PasswordHasherConfigurer pPasswordHasherConfigurer)
Changes the password hasher configurer that contains password hasher info.
|
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) |
void |
setUserPasswordHasherPropertyName(java.lang.String pPasswordHasherPropertyName)
set user PasswordHasherPropertyName
|
addGlobalLogListeners, addLogListener, getLoggingForVlogging, getLoggingIdentifer, getLogListenerCount, getLogListeners, initializeFromServiceEvent, isAutoInitListeners, isLoggingDebug, isLoggingError, isLoggingInfo, isLoggingTrace, isLoggingWarning, logDebug, logDebug, logDebug, logError, logError, logError, logInfo, logInfo, logInfo, logTrace, logTrace, logTrace, logWarning, logWarning, logWarning, removeLogListener, sendLogEvent, setAutoInitListeners, setLoggingDebug, setLoggingError, setLoggingIdentifier, setLoggingInfo, setLoggingTrace, setLoggingWarningvlogDebug, vlogDebug, vlogDebug, vlogDebug, vlogDebugTrace, vlogError, vlogError, vlogError, vlogError, vlogInfo, vlogInfo, vlogInfo, vlogInfo, vlogTrace, vlogTrace, vlogTrace, vlogTrace, vlogWarning, vlogWarning, vlogWarning, vlogWarningpublic static java.lang.String CLASS_VERSION
public java.lang.String mContactInfoPropertyName
public PropertyManager()
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 setUserPasswordHasherPropertyName(java.lang.String pPasswordHasherPropertyName)
pPasswordHasherPropertyName - the PasswordHasherPropertyNamepublic java.lang.String getUserPasswordHasherPropertyName()
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()
fullNamepublic void setAutoLoginPropertyName(java.lang.String pAutoLoginPropertyName)
public java.lang.String getAutoLoginPropertyName()
public atg.security.PasswordHasherConfigurer getPasswordHasherConfigurer()
public void setPasswordHasherConfigurer(atg.security.PasswordHasherConfigurer pPasswordHasherConfigurer)
public PasswordHasher getPasswordHasher()
public void setPasswordHasher(PasswordHasher pHasher)
public PasswordHasher getAlternateUserPasswordHasher()
public void setAlternateUserPasswordHasher(PasswordHasher pAlternateUserPasswordHasher)
public java.util.Map getCryptoAgilityPasswordHashers()
public void setCryptoAgilityPasswordHashers(java.util.Map cryptoAgilityPasswordHashers)
public java.lang.String getCryptoAgilityPasswordHasherValue(java.lang.String cryptoAgilityPasswordHasherCode)
cryptoAgilityPasswordHasherCode - -the password hasher code whose respective password hasher value
has to be retrievedpublic java.lang.String getCryptoAgilityPasswordHasherCode(java.lang.String cryptoAgilityPasswordHasherValue)
cryptoAgilityPasswordHasherValue - -the password hasher value whose respective password hasher code
has to be retrievedpublic 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)
ContactInfoPropertyNamepContactInfoPropertyName - public java.lang.String getContactInfoPropertyName()
ContactInfoPropertyNamepublic 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 generatePasswordSalt(java.lang.String pLogin)
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 generatePassword(java.lang.String pLogin,
java.lang.String pClearTextPassword,
PasswordHasher pPasswordHasher)
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 hashpPasswordHasher - the password hasher used to hashPasswordHasher.encryptPassword(java.lang.String)public java.lang.String generatePasswordHash(java.lang.String pClearTextPassword,
PasswordHasher pPasswordHasher)
pClearTextPassword - the clear-text password to hashpPasswordHasher - the password hasher to hash clear-text password.PasswordHasher.encryptPassword(java.lang.String)public java.lang.String generatePassword(java.lang.String pClearTextPassword,
PasswordHasher pPasswordHasher)
pClearTextPassword - the clear-text password to hashpPasswordHasher - the password hasher used to hashPasswordHasher.encryptPassword(java.lang.String)public java.lang.String getLoggingIdentifier()
ApplicationLoggingImplgetLoggingIdentifier in class ApplicationLoggingImpl