1 package org.apache.archiva.redback.configuration;
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance
9 * with the License. You may obtain a copy of the License at
11 * http://www.apache.org/licenses/LICENSE-2.0
13 * Unless required by applicable law or agreed to in writing,
14 * software distributed under the License is distributed on an
15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 * KIND, either express or implied. See the License for the
17 * specific language governing permissions and limitations
22 * @author Olivier Lamy
25 public interface UserConfigurationKeys
27 String USER_MANAGER_IMPL = "user.manager.impl";
29 String RBAC_MANAGER_IMPL = "rbac.manager.impl";
31 String DEFAULT_ADMIN = "redback.default.admin";
33 String DEFAULT_GUEST = "redback.default.guest";
35 String EMAIL_FROM_ADDRESS = "email.from.address";
37 String EMAIL_FROM_NAME = "email.from.name";
39 String EMAIL_FEEDBACK_PATH = "email.feedback.path";
41 String APPLICATION_TIMESTAMP = "application.timestamp";
43 String PASSWORD_ENCODER = "security.policy.password.encoder";
45 String EMAIL_VALIDATION_SUBJECT = "email.validation.subject";
47 String REMEMBER_ME_PATH = "security.rememberme.path";
49 String REMEMBER_ME_DOMAIN = "security.rememberme.domain";
51 String REMEMBER_ME_ENABLED = "security.rememberme.enabled";
53 String REMEMBER_ME_TIMEOUT = "security.rememberme.timeout";
55 String REMEMBER_ME_SECURE = "security.rememberme.secure";
57 String SIGNON_DOMAIN = "security.signon.domain";
59 String SIGNON_PATH = "security.signon.path";
61 String SIGNON_TIMEOUT = "security.signon.timeout";
63 String LDAP_HOSTNAME = "ldap.config.hostname";
65 String LDAP_PORT = "ldap.config.port";
67 String LDAP_SSL = "ldap.config.ssl";
69 String LDAP_CONTEX_FACTORY = "ldap.config.context.factory";
71 String LDAP_PASSWORD = "ldap.config.password";
73 String LDAP_AUTHENTICATION_METHOD = "ldap.config.authentication.method";
75 String LDAP_BASEDN = "ldap.config.base.dn";
77 String LDAP_BINDDN = "ldap.config.bind.dn";
79 String LDAP_GROUPS_CLASS = "ldap.config.groups.class";
81 String LDAP_GROUPS_BASEDN = "ldap.config.groups.base.dn";
83 String LDAP_GROUPS_ROLE_START_KEY = "ldap.config.groups.role.";
85 String LDAP_GROUPS_USE_ROLENAME = "ldap.config.groups.use.rolename";
87 String LDAP_WRITABLE = "ldap.config.writable";
89 String LDAP_USER_ID_ATTRIBUTE = "ldap.config.user.attribute";
91 String APPLICATION_URL = "application.url";
93 String EMAIL_URL_PATH = "email.url.path";
95 String LDAP_MAPPER_USER_ATTRIBUTE_EMAIL = "ldap.config.mapper.attribute.email";
97 String LDAP_MAPPER_USER_ATTRIBUTE_FULLNAME = "ldap.config.mapper.attribute.fullname";
99 String LDAP_MAPPER_USER_ATTRIBUTE_PASSWORD = "ldap.config.mapper.attribute.password";
101 String LDAP_MAPPER_USER_ATTRIBUTE_ID = "ldap.config.mapper.attribute.user.id";
103 String LDAP_MAPPER_USER_ATTRIBUTE_OBJECT_CLASS = "ldap.config.mapper.attribute.user.object.class";
105 String LDAP_MAPPER_USER_ATTRIBUTE_FILTER = "ldap.config.mapper.attribute.user.filter";
107 String LDAP_MAX_RESULT_COUNT = "ldap.config.max.result.count";
109 String LDAP_BIND_AUTHENTICATOR_ENABLED = "ldap.bind.authenticator.enabled";
111 String LDAP_BIND_AUTHENTICATOR_ALLOW_EMPTY_PASSWORDS = "ldap.bind.authenticator.allowEmptyPasswords";
113 String PASSWORD_RETENTION_COUNT = "security.policy.password.previous.count";
115 String LOGIN_ATTEMPT_COUNT = "security.policy.allowed.login.attempt";
117 String PASSWORD_EXPIRATION_ENABLED = "security.policy.password.expiration.enabled";
119 String PASSWORD_EXPIRATION = "security.policy.password.expiration.days";
121 String UNLOCKABLE_ACCOUNTS = "security.policy.unlockable.accounts";
123 String EMAIL_VALIDATION_TIMEOUT = "email.validation.timeout";
125 String EMAIL_VALIDATION_REQUIRED = "email.validation.required";
127 String ALPHA_COUNT_MIN = "security.policy.password.rule.alphacount.minimum";
129 String ALPHA_COUNT_VIOLATION = "user.password.violation.alpha";
131 String CHARACTER_LENGTH_MIN = "security.policy.password.rule.characterlength.minimum";
133 String CHARACTER_LENGTH_MAX = "security.policy.password.rule.characterlength.maximum";
135 String CHARACTER_LENGTH_MISCONFIGURED_VIOLATION = "user.password.violation.length.misconfigured";
137 String CHARACTER_LENGTH_VIOLATION = "user.password.violation.length";
139 String MINIMUM = "security.policy.password.rule.numericalcount.minimum";
141 String NUMERICAL_COUNT_VIOLATION = "user.password.violation.numeric";
143 String POLICY_PASSWORD_RULE_ALPHANUMERIC_ENABLED = "security.policy.password.rule.alphanumeric.enabled";
145 String POLICY_PASSWORD_RULE_ALPHACOUNT_ENABLED = "security.policy.password.rule.alphacount.enabled";
147 String POLICY_PASSWORD_RULE_CHARACTERLENGTH_ENABLED = "security.policy.password.rule.characterlength.enabled";
149 String POLICY_PASSWORD_RULE_MUSTHAVE_ENABLED = "security.policy.password.rule.musthave.enabled";
151 String POLICY_PASSWORD_RULE_NUMERICALCOUNT_ENABLED = "security.policy.password.rule.numericalcount.enabled";
153 String POLICY_PASSWORD_RULE_REUSE_ENABLED = "security.policy.password.rule.reuse.enabled";
155 String POLICY_PASSWORD_RULE_NOWHITTESPACE_ENABLED = "security.policy.password.rule.nowhitespace.enabled";