Interface UserConstants
-
- All Known Implementing Classes:
UserUtil
public interface UserConstantsUser management related constants. Please note that all names and paths are OAK names/paths and therefore are not suited to be used in JCR context with remapped namespaces.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringCREDENTIALS_ATTRIBUTE_NEWPASSWORDName of theSimpleCredentialsattribute containing the new password.static java.lang.StringDEFAULT_ADMIN_IDDefault value forPARAM_ADMIN_IDstatic java.lang.StringDEFAULT_ANONYMOUS_IDDefault value forPARAM_ANONYMOUS_IDstatic intDEFAULT_DEPTHDefault value forPARAM_DEFAULT_DEPTHstatic booleanDEFAULT_ENABLE_RFC7613_USERCASE_MAPPED_PROFILEDefault value forPARAM_ENABLE_RFC7613_USERCASE_MAPPED_PROFILEstatic java.lang.StringDEFAULT_GROUP_PATHDefault value forPARAM_GROUP_PATHstatic booleanDEFAULT_PASSWORD_INITIAL_CHANGEDefault value forPARAM_PASSWORD_INITIAL_CHANGEstatic intDEFAULT_PASSWORD_MAX_AGEDefault value forPARAM_PASSWORD_MAX_AGEstatic java.lang.StringDEFAULT_SYSTEM_RELATIVE_PATHDefault intermediate path for system users.static java.lang.StringDEFAULT_USER_PATHDefault value forPARAM_USER_PATHstatic java.util.Collection<java.lang.String>GROUP_PROPERTY_NAMESstatic java.lang.StringMIX_REP_IMPERSONATABLEstatic java.util.Collection<java.lang.String>NT_NAMESstatic java.lang.StringNT_REP_AUTHORIZABLEstatic java.lang.StringNT_REP_AUTHORIZABLE_FOLDERstatic java.lang.StringNT_REP_GROUPstatic java.lang.StringNT_REP_MEMBER_REFERENCESstatic java.lang.StringNT_REP_MEMBER_REFERENCES_LISTstatic java.lang.StringNT_REP_MEMBERSDeprecated.static java.lang.StringNT_REP_PASSWORDstatic java.lang.StringNT_REP_SYSTEM_USERstatic java.lang.StringNT_REP_USERstatic java.lang.StringPARAM_ADMIN_IDConfiguration option defining the ID of the administrator user.static java.lang.StringPARAM_ANONYMOUS_IDConfiguration option defining the ID of the anonymous user.static java.lang.StringPARAM_AUTHORIZABLE_ACTION_PROVIDEROptional configuration parameter to set theAuthorizableActionProviderto be used with the given user management implementation.static java.lang.StringPARAM_AUTHORIZABLE_NODE_NAMEOptional configuration parameter defining how to generate the name of the authorizable node from the ID of the new authorizable that is being created.static java.lang.StringPARAM_DEFAULT_DEPTHParameter used to change the number of levels that are used by default to store authorizable nodes.
The default number of levels is 2.static java.lang.StringPARAM_ENABLE_RFC7613_USERCASE_MAPPED_PROFILEOptionally enables the UsernameCaseMapped profile defined in https://tools.ietf.org/html/rfc7613#section-3.2 for user name comparison.static java.lang.StringPARAM_GROUP_PATHConfiguration option to define the path underneath which group nodes are being created.static java.lang.StringPARAM_OMIT_ADMIN_PWConfiguration option defining if the admin password should be omitted upon user creation.static java.lang.StringPARAM_PASSWORD_HASH_ALGORITHMConfiguration parameter to change the default algorithm used to generate password hashes.static java.lang.StringPARAM_PASSWORD_HASH_ITERATIONSConfiguration parameter to change the number of iterations used for password hash generation.static java.lang.StringPARAM_PASSWORD_HISTORY_SIZEOptional configuration parameter indicating the maximum number of passwords recorded for a user after password changes.static java.lang.StringPARAM_PASSWORD_INITIAL_CHANGEOptional configuration parameter indicating whether users must change their passwords on first login.static java.lang.StringPARAM_PASSWORD_MAX_AGEOptional configuration parameter indicating the maximum age in days a password may have before it expires.static java.lang.StringPARAM_PASSWORD_SALT_SIZEConfiguration parameter to change the number of iterations used for password hash generation.static java.lang.StringPARAM_SUPPORT_AUTOSAVEOptional configuration parameter that might be used to get back support for the auto-save behavior which has been dropped in the default user management implementation present with OAK.static java.lang.StringPARAM_SYSTEM_RELATIVE_PATHConfiguration option to define the path relative to the user root node underneath which system user nodes are being created.static java.lang.StringPARAM_USER_AUTHENTICATION_FACTORYMandatory configuration option denoting the userAuthenticationimplementation to use in the login module.static java.lang.StringPARAM_USER_PATHConfiguration option to define the path underneath which user nodes are being created.static intPASSWORD_HISTORY_DISABLED_SIZEConstant to indicate disabled password history, which is the default.static java.util.Collection<java.lang.String>PWD_PROPERTY_NAMESstatic java.lang.StringREP_AUTHORIZABLE_IDstatic java.lang.StringREP_DISABLEDstatic java.lang.StringREP_IMPERSONATORSstatic java.lang.StringREP_MEMBERSstatic java.lang.StringREP_MEMBERS_LISTstatic java.lang.StringREP_PASSWORDstatic java.lang.StringREP_PASSWORD_LAST_MODIFIEDstatic java.lang.StringREP_PRINCIPAL_NAMEstatic java.lang.StringREP_PWDstatic java.lang.StringREP_PWD_HISTORYstatic java.util.Collection<java.lang.String>USER_PROPERTY_NAMES
-
-
-
Field Detail
-
NT_REP_AUTHORIZABLE
static final java.lang.String NT_REP_AUTHORIZABLE
- See Also:
- Constant Field Values
-
NT_REP_AUTHORIZABLE_FOLDER
static final java.lang.String NT_REP_AUTHORIZABLE_FOLDER
- See Also:
- Constant Field Values
-
NT_REP_USER
static final java.lang.String NT_REP_USER
- See Also:
- Constant Field Values
-
NT_REP_GROUP
static final java.lang.String NT_REP_GROUP
- See Also:
- Constant Field Values
-
NT_REP_SYSTEM_USER
static final java.lang.String NT_REP_SYSTEM_USER
- See Also:
- Constant Field Values
-
NT_REP_PASSWORD
static final java.lang.String NT_REP_PASSWORD
- See Also:
- Constant Field Values
-
NT_REP_MEMBERS
@Deprecated static final java.lang.String NT_REP_MEMBERS
Deprecated.- See Also:
- Constant Field Values
-
NT_REP_MEMBER_REFERENCES_LIST
static final java.lang.String NT_REP_MEMBER_REFERENCES_LIST
- See Also:
- Constant Field Values
-
NT_REP_MEMBER_REFERENCES
static final java.lang.String NT_REP_MEMBER_REFERENCES
- See Also:
- Constant Field Values
-
MIX_REP_IMPERSONATABLE
static final java.lang.String MIX_REP_IMPERSONATABLE
- See Also:
- Constant Field Values
-
REP_PRINCIPAL_NAME
static final java.lang.String REP_PRINCIPAL_NAME
- See Also:
- Constant Field Values
-
REP_AUTHORIZABLE_ID
static final java.lang.String REP_AUTHORIZABLE_ID
- See Also:
- Constant Field Values
-
REP_PASSWORD
static final java.lang.String REP_PASSWORD
- See Also:
- Constant Field Values
-
REP_PASSWORD_LAST_MODIFIED
static final java.lang.String REP_PASSWORD_LAST_MODIFIED
- See Also:
- Constant Field Values
-
REP_DISABLED
static final java.lang.String REP_DISABLED
- See Also:
- Constant Field Values
-
REP_MEMBERS
static final java.lang.String REP_MEMBERS
- See Also:
- Constant Field Values
-
REP_MEMBERS_LIST
static final java.lang.String REP_MEMBERS_LIST
- See Also:
- Constant Field Values
-
REP_IMPERSONATORS
static final java.lang.String REP_IMPERSONATORS
- See Also:
- Constant Field Values
-
REP_PWD
static final java.lang.String REP_PWD
- See Also:
- Constant Field Values
-
REP_PWD_HISTORY
static final java.lang.String REP_PWD_HISTORY
- See Also:
- Constant Field Values
-
GROUP_PROPERTY_NAMES
static final java.util.Collection<java.lang.String> GROUP_PROPERTY_NAMES
-
USER_PROPERTY_NAMES
static final java.util.Collection<java.lang.String> USER_PROPERTY_NAMES
-
PWD_PROPERTY_NAMES
static final java.util.Collection<java.lang.String> PWD_PROPERTY_NAMES
-
NT_NAMES
static final java.util.Collection<java.lang.String> NT_NAMES
-
PARAM_ADMIN_ID
static final java.lang.String PARAM_ADMIN_ID
Configuration option defining the ID of the administrator user.- See Also:
- Constant Field Values
-
PARAM_OMIT_ADMIN_PW
static final java.lang.String PARAM_OMIT_ADMIN_PW
Configuration option defining if the admin password should be omitted upon user creation.- See Also:
- Constant Field Values
-
DEFAULT_ADMIN_ID
static final java.lang.String DEFAULT_ADMIN_ID
Default value forPARAM_ADMIN_ID- See Also:
- Constant Field Values
-
PARAM_ANONYMOUS_ID
static final java.lang.String PARAM_ANONYMOUS_ID
Configuration option defining the ID of the anonymous user. The ID might benullof no anonymous user exists. In this case Session#getUserID() may returnnullif it has been obtained usingGuestCredentials.- See Also:
- Constant Field Values
-
DEFAULT_ANONYMOUS_ID
static final java.lang.String DEFAULT_ANONYMOUS_ID
Default value forPARAM_ANONYMOUS_ID- See Also:
- Constant Field Values
-
PARAM_USER_AUTHENTICATION_FACTORY
static final java.lang.String PARAM_USER_AUTHENTICATION_FACTORY
Mandatory configuration option denoting the userAuthenticationimplementation to use in the login module.- See Also:
- Constant Field Values
-
PARAM_USER_PATH
static final java.lang.String PARAM_USER_PATH
Configuration option to define the path underneath which user nodes are being created.- See Also:
- Constant Field Values
-
DEFAULT_USER_PATH
static final java.lang.String DEFAULT_USER_PATH
Default value forPARAM_USER_PATH- See Also:
- Constant Field Values
-
PARAM_GROUP_PATH
static final java.lang.String PARAM_GROUP_PATH
Configuration option to define the path underneath which group nodes are being created.- See Also:
- Constant Field Values
-
DEFAULT_GROUP_PATH
static final java.lang.String DEFAULT_GROUP_PATH
Default value forPARAM_GROUP_PATH- See Also:
- Constant Field Values
-
PARAM_SYSTEM_RELATIVE_PATH
static final java.lang.String PARAM_SYSTEM_RELATIVE_PATH
Configuration option to define the path relative to the user root node underneath which system user nodes are being created.- See Also:
- Constant Field Values
-
DEFAULT_SYSTEM_RELATIVE_PATH
static final java.lang.String DEFAULT_SYSTEM_RELATIVE_PATH
Default intermediate path for system users.- See Also:
- Constant Field Values
-
PARAM_DEFAULT_DEPTH
static final java.lang.String PARAM_DEFAULT_DEPTH
Parameter used to change the number of levels that are used by default to store authorizable nodes.
The default number of levels is 2.- See Also:
- Constant Field Values
-
DEFAULT_DEPTH
static final int DEFAULT_DEPTH
Default value forPARAM_DEFAULT_DEPTH- See Also:
- Constant Field Values
-
PARAM_PASSWORD_HASH_ALGORITHM
static final java.lang.String PARAM_PASSWORD_HASH_ALGORITHM
Configuration parameter to change the default algorithm used to generate password hashes.- See Also:
- Constant Field Values
-
PARAM_PASSWORD_HASH_ITERATIONS
static final java.lang.String PARAM_PASSWORD_HASH_ITERATIONS
Configuration parameter to change the number of iterations used for password hash generation.- See Also:
- Constant Field Values
-
PARAM_PASSWORD_SALT_SIZE
static final java.lang.String PARAM_PASSWORD_SALT_SIZE
Configuration parameter to change the number of iterations used for password hash generation.- See Also:
- Constant Field Values
-
PARAM_ENABLE_RFC7613_USERCASE_MAPPED_PROFILE
static final java.lang.String PARAM_ENABLE_RFC7613_USERCASE_MAPPED_PROFILE
Optionally enables the UsernameCaseMapped profile defined in https://tools.ietf.org/html/rfc7613#section-3.2 for user name comparison. Use this if half-width and full-width user names should be considered equal.- See Also:
- Constant Field Values
-
DEFAULT_ENABLE_RFC7613_USERCASE_MAPPED_PROFILE
static final boolean DEFAULT_ENABLE_RFC7613_USERCASE_MAPPED_PROFILE
Default value forPARAM_ENABLE_RFC7613_USERCASE_MAPPED_PROFILE- See Also:
- Constant Field Values
-
PARAM_AUTHORIZABLE_NODE_NAME
static final java.lang.String PARAM_AUTHORIZABLE_NODE_NAME
Optional configuration parameter defining how to generate the name of the authorizable node from the ID of the new authorizable that is being created. The value is expected to be an instance ofAuthorizableNodeName. By defaultAuthorizableNodeName.DEFAULTis used.- See Also:
- Constant Field Values
-
PARAM_AUTHORIZABLE_ACTION_PROVIDER
static final java.lang.String PARAM_AUTHORIZABLE_ACTION_PROVIDER
Optional configuration parameter to set theAuthorizableActionProviderto be used with the given user management implementation. Unless otherwise specified in the configurationDefaultAuthorizableActionProvideris used.- See Also:
- Constant Field Values
-
PARAM_SUPPORT_AUTOSAVE
static final java.lang.String PARAM_SUPPORT_AUTOSAVE
Optional configuration parameter that might be used to get back support for the auto-save behavior which has been dropped in the default user management implementation present with OAK.Note that this option has been added for those cases where API consumers rely on the implementation specific behavior present with Jackrabbit 2.x. In general using this option should not be required as the Jackrabbit User Management API expects that API consumers tests the auto-save mode is enabled. Therefore this option should be considered a temporary workaround after upgrading a repository to OAK; the affected code should be reviewed and adjusted accordingly.
- See Also:
- Constant Field Values
-
PARAM_PASSWORD_MAX_AGE
static final java.lang.String PARAM_PASSWORD_MAX_AGE
Optional configuration parameter indicating the maximum age in days a password may have before it expires. If the value specified is> 0, password expiry is implicitly enabled.- See Also:
- Constant Field Values
-
DEFAULT_PASSWORD_MAX_AGE
static final int DEFAULT_PASSWORD_MAX_AGE
Default value forPARAM_PASSWORD_MAX_AGE- See Also:
- Constant Field Values
-
PARAM_PASSWORD_INITIAL_CHANGE
static final java.lang.String PARAM_PASSWORD_INITIAL_CHANGE
Optional configuration parameter indicating whether users must change their passwords on first login. If enabled, passwords are immediately expired upon user creation.- See Also:
- Constant Field Values
-
DEFAULT_PASSWORD_INITIAL_CHANGE
static final boolean DEFAULT_PASSWORD_INITIAL_CHANGE
Default value forPARAM_PASSWORD_INITIAL_CHANGE- See Also:
- Constant Field Values
-
CREDENTIALS_ATTRIBUTE_NEWPASSWORD
static final java.lang.String CREDENTIALS_ATTRIBUTE_NEWPASSWORD
Name of theSimpleCredentialsattribute containing the new password. This may be used change the password via the credentials object.- See Also:
- Constant Field Values
-
PARAM_PASSWORD_HISTORY_SIZE
static final java.lang.String PARAM_PASSWORD_HISTORY_SIZE
Optional configuration parameter indicating the maximum number of passwords recorded for a user after password changes. If the value specified is> 0, password history checking during password change is implicitly enabled and the new password provided during a password change must not be found in the already recorded history.- Since:
- Oak 1.3.3
- See Also:
- Constant Field Values
-
PASSWORD_HISTORY_DISABLED_SIZE
static final int PASSWORD_HISTORY_DISABLED_SIZE
Constant to indicate disabled password history, which is the default.- Since:
- Oak 1.3.3
- See Also:
- Constant Field Values
-
-