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 DEFAULT_GUEST_ROLE = "redback.default.role.guest";
37 String EMAIL_FROM_ADDRESS = "email.from.address";
39 String EMAIL_FROM_NAME = "email.from.name";
41 String EMAIL_FEEDBACK_PATH = "email.feedback.path";
43 String APPLICATION_TIMESTAMP = "application.timestamp";
45 String PASSWORD_ENCODER = "security.policy.password.encoder";
47 String EMAIL_VALIDATION_SUBJECT = "email.validation.subject";
49 String REMEMBER_ME_PATH = "security.rememberme.path";
51 String REMEMBER_ME_DOMAIN = "security.rememberme.domain";
53 String REMEMBER_ME_ENABLED = "security.rememberme.enabled";
55 String REMEMBER_ME_TIMEOUT = "security.rememberme.timeout";
57 String REMEMBER_ME_SECURE = "security.rememberme.secure";
59 String SIGNON_DOMAIN = "security.signon.domain";
61 String SIGNON_PATH = "security.signon.path";
63 String SIGNON_TIMEOUT = "security.signon.timeout";
65 String LDAP_HOSTNAME = "ldap.config.hostname";
67 String LDAP_PORT = "ldap.config.port";
69 String LDAP_SSL = "ldap.config.ssl";
71 String LDAP_CONTEX_FACTORY = "ldap.config.context.factory";
73 String LDAP_PASSWORD = "ldap.config.password";
75 String LDAP_AUTHENTICATION_METHOD = "ldap.config.authentication.method";
77 String LDAP_BASEDN = "ldap.config.base.dn";
79 String LDAP_BINDDN = "ldap.config.bind.dn";
81 String LDAP_GROUPS_CLASS = "ldap.config.groups.class";
83 String LDAP_GROUPS_BASEDN = "ldap.config.groups.base.dn";
85 String LDAP_GROUPS_ROLE_START_KEY = "ldap.config.groups.role.";
87 String LDAP_GROUPS_USE_ROLENAME = "ldap.config.groups.use.rolename";
89 String LDAP_WRITABLE = "ldap.config.writable";
91 String LDAP_USER_ID_ATTRIBUTE = "ldap.config.user.attribute";
93 String APPLICATION_URL = "application.url";
95 String EMAIL_URL_PATH = "email.url.path";
97 String LDAP_MAPPER_USER_ATTRIBUTE_EMAIL = "ldap.config.mapper.attribute.email";
99 String LDAP_MAPPER_USER_ATTRIBUTE_FULLNAME = "ldap.config.mapper.attribute.fullname";
101 String LDAP_MAPPER_USER_ATTRIBUTE_PASSWORD = "ldap.config.mapper.attribute.password";
103 String LDAP_MAPPER_USER_ATTRIBUTE_ID = "ldap.config.mapper.attribute.user.id";
105 String LDAP_MAPPER_USER_ATTRIBUTE_OBJECT_CLASS = "ldap.config.mapper.attribute.user.object.class";
107 String LDAP_MAPPER_USER_ATTRIBUTE_FILTER = "ldap.config.mapper.attribute.user.filter";
109 String LDAP_MAX_RESULT_COUNT = "ldap.config.max.result.count";
111 String LDAP_BIND_AUTHENTICATOR_ENABLED = "ldap.bind.authenticator.enabled";
113 String LDAP_BIND_AUTHENTICATOR_ALLOW_EMPTY_PASSWORDS = "ldap.bind.authenticator.allowEmptyPasswords";
115 String PASSWORD_RETENTION_COUNT = "security.policy.password.previous.count";
117 String LOGIN_ATTEMPT_COUNT = "security.policy.allowed.login.attempt";
119 String PASSWORD_EXPIRATION_ENABLED = "security.policy.password.expiration.enabled";
121 String PASSWORD_EXPIRATION = "security.policy.password.expiration.days";
123 String UNLOCKABLE_ACCOUNTS = "security.policy.unlockable.accounts";
125 String EMAIL_VALIDATION_TIMEOUT = "email.validation.timeout";
127 String EMAIL_VALIDATION_REQUIRED = "email.validation.required";
129 String ALPHA_COUNT_MIN = "security.policy.password.rule.alphacount.minimum";
131 String ALPHA_COUNT_VIOLATION = "user.password.violation.alpha";
133 String CHARACTER_LENGTH_MIN = "security.policy.password.rule.characterlength.minimum";
135 String CHARACTER_LENGTH_MAX = "security.policy.password.rule.characterlength.maximum";
137 String CHARACTER_LENGTH_MISCONFIGURED_VIOLATION = "user.password.violation.length.misconfigured";
139 String CHARACTER_LENGTH_VIOLATION = "user.password.violation.length";
141 String MINIMUM = "security.policy.password.rule.numericalcount.minimum";
143 String NUMERICAL_COUNT_VIOLATION = "user.password.violation.numeric";
145 String POLICY_PASSWORD_RULE_ALPHANUMERIC_ENABLED = "security.policy.password.rule.alphanumeric.enabled";
147 String POLICY_PASSWORD_RULE_ALPHACOUNT_ENABLED = "security.policy.password.rule.alphacount.enabled";
149 String POLICY_PASSWORD_RULE_CHARACTERLENGTH_ENABLED = "security.policy.password.rule.characterlength.enabled";
151 String POLICY_PASSWORD_RULE_MUSTHAVE_ENABLED = "security.policy.password.rule.musthave.enabled";
153 String POLICY_PASSWORD_RULE_NUMERICALCOUNT_ENABLED = "security.policy.password.rule.numericalcount.enabled";
155 String POLICY_PASSWORD_RULE_REUSE_ENABLED = "security.policy.password.rule.reuse.enabled";
157 String POLICY_PASSWORD_RULE_NOWHITTESPACE_ENABLED = "security.policy.password.rule.nowhitespace.enabled";