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_WRITABLE = "ldap.config.writable";
87 String APPLICATION_URL = "application.url";
89 String EMAIL_URL_PATH = "email.url.path";
91 String LDAP_MAPPER_USER_ATTRIBUTE_EMAIL = "ldap.config.mapper.attribute.email";
93 String LDAP_MAPPER_USER_ATTRIBUTE_FULLNAME = "ldap.config.mapper.attribute.fullname";
95 String LDAP_MAPPER_USER_ATTRIBUTE_PASSWORD = "ldap.config.mapper.attribute.password";
97 String LDAP_MAPPER_USER_ATTRIBUTE_ID = "ldap.config.mapper.attribute.user.id";
99 String LDAP_MAPPER_USER_ATTRIBUTE_OBJECT_CLASS = "ldap.config.mapper.attribute.user.object.class";
101 String LDAP_MAPPER_USER_ATTRIBUTE_FILTER = "ldap.config.mapper.attribute.user.filter";
103 String LDAP_MAX_RESULT_COUNT = "ldap.config.max.result.count";
105 String LDAP_BIND_AUTHENTICATOR_ENABLED = "ldap.bind.authenticator.enabled";
107 String LDAP_BIND_AUTHENTICATOR_ALLOW_EMPTY_PASSWORDS = "ldap.bind.authenticator.allowEmptyPasswords";
109 String PASSWORD_RETENTION_COUNT = "security.policy.password.previous.count";
111 String LOGIN_ATTEMPT_COUNT = "security.policy.allowed.login.attempt";
113 String PASSWORD_EXPIRATION_ENABLED = "security.policy.password.expiration.enabled";
115 String PASSWORD_EXPIRATION = "security.policy.password.expiration.days";
117 String UNLOCKABLE_ACCOUNTS = "security.policy.unlockable.accounts";
119 String EMAIL_VALIDATION_TIMEOUT = "email.validation.timeout";
121 String EMAIL_VALIDATION_REQUIRED = "email.validation.required";
123 String ALPHA_COUNT_MIN = "security.policy.password.rule.alphacount.minimum";
125 String ALPHA_COUNT_VIOLATION = "user.password.violation.alpha";
127 String CHARACTER_LENGTH_MIN = "security.policy.password.rule.characterlength.minimum";
129 String CHARACTER_LENGTH_MAX = "security.policy.password.rule.characterlength.maximum";
131 String CHARACTER_LENGTH_MISCONFIGURED_VIOLATION = "user.password.violation.length.misconfigured";
133 String CHARACTER_LENGTH_VIOLATION = "user.password.violation.length";
135 String MINIMUM = "security.policy.password.rule.numericalcount.minimum";
137 String NUMERICAL_COUNT_VIOLATION = "user.password.violation.numeric";
139 String POLICY_PASSWORD_RULE_ALPHANUMERIC_ENABLED = "security.policy.password.rule.alphanumeric.enabled";
141 String POLICY_PASSWORD_RULE_ALPHACOUNT_ENABLED = "security.policy.password.rule.alphacount.enabled";
143 String POLICY_PASSWORD_RULE_CHARACTERLENGTH_ENABLED = "security.policy.password.rule.characterlength.enabled";
145 String POLICY_PASSWORD_RULE_MUSTHAVE_ENABLED = "security.policy.password.rule.musthave.enabled";
147 String POLICY_PASSWORD_RULE_NUMERICALCOUNT_ENABLED = "security.policy.password.rule.numericalcount.enabled";
149 String POLICY_PASSWORD_RULE_REUSE_ENABLED = "security.policy.password.rule.reuse.enabled";
151 String POLICY_PASSWORD_RULE_NOWHITTESPACE_ENABLED = "security.policy.password.rule.nowhitespace.enabled";