This project has retired. For details please refer to its Attic page.
UserConfigurationKeys xref
View Javadoc

1   package org.apache.archiva.redback.configuration;
2   /*
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
10   *
11   * http://www.apache.org/licenses/LICENSE-2.0
12   *
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
18   * under the License.
19   */
20  
21  /**
22   * @author Olivier Lamy
23   * @since 2.1
24   */
25  public interface UserConfigurationKeys
26  {
27      String USER_MANAGER_IMPL = "user.manager.impl";
28  
29      String RBAC_MANAGER_IMPL = "rbac.manager.impl";
30  
31      String DEFAULT_ADMIN = "redback.default.admin";
32  
33      String DEFAULT_GUEST = "redback.default.guest";
34  
35      String DEFAULT_GUEST_ROLE_ID = "redback.default.role.guest.id";
36  
37      String EMAIL_FROM_ADDRESS = "email.from.address";
38  
39      String EMAIL_FROM_NAME = "email.from.name";
40  
41      String EMAIL_FEEDBACK_PATH = "email.feedback.path";
42  
43      String APPLICATION_TIMESTAMP = "application.timestamp";
44  
45      String PASSWORD_ENCODER = "security.policy.password.encoder";
46  
47      String EMAIL_VALIDATION_SUBJECT = "email.validation.subject";
48  
49      String REMEMBER_ME_PATH = "security.rememberme.path";
50  
51      String REMEMBER_ME_DOMAIN = "security.rememberme.domain";
52  
53      String REMEMBER_ME_ENABLED = "security.rememberme.enabled";
54  
55      String REMEMBER_ME_TIMEOUT = "security.rememberme.timeout";
56  
57      String REMEMBER_ME_SECURE = "security.rememberme.secure";
58  
59      String SIGNON_DOMAIN = "security.signon.domain";
60  
61      String SIGNON_PATH = "security.signon.path";
62  
63      String SIGNON_TIMEOUT = "security.signon.timeout";
64  
65      String LDAP_HOSTNAME = "ldap.config.hostname";
66  
67      String LDAP_PORT = "ldap.config.port";
68  
69      String LDAP_SSL = "ldap.config.ssl";
70  
71      String LDAP_CONTEX_FACTORY = "ldap.config.context.factory";
72  
73      String LDAP_PASSWORD = "ldap.config.password";
74  
75      String LDAP_AUTHENTICATION_METHOD = "ldap.config.authentication.method";
76  
77      String LDAP_BASEDN = "ldap.config.base.dn";
78  
79      String LDAP_BINDDN = "ldap.config.bind.dn";
80  
81      String LDAP_GROUPS_CLASS = "ldap.config.groups.class";
82  
83      String LDAP_GROUPS_BASEDN = "ldap.config.groups.base.dn";
84  
85      String LDAP_GROUPS_ROLE_START_KEY = "ldap.config.groups.role.";
86  
87      String LDAP_GROUPS_USE_ROLENAME = "ldap.config.groups.use.rolename";
88  
89      String LDAP_WRITABLE = "ldap.config.writable";
90  
91      String LDAP_USER_ID_ATTRIBUTE = "ldap.config.user.attribute";
92  
93      String APPLICATION_URL = "application.url";
94  
95      String EMAIL_URL_PATH = "email.url.path";
96  
97      String LDAP_MAPPER_USER_ATTRIBUTE_EMAIL = "ldap.config.mapper.attribute.email";
98  
99      String LDAP_MAPPER_USER_ATTRIBUTE_FULLNAME = "ldap.config.mapper.attribute.fullname";
100 
101     String LDAP_MAPPER_USER_ATTRIBUTE_PASSWORD = "ldap.config.mapper.attribute.password";
102 
103     String LDAP_MAPPER_USER_ATTRIBUTE_ID = "ldap.config.mapper.attribute.user.id";
104 
105     String LDAP_MAPPER_USER_ATTRIBUTE_OBJECT_CLASS = "ldap.config.mapper.attribute.user.object.class";
106 
107     String LDAP_MAPPER_USER_ATTRIBUTE_FILTER = "ldap.config.mapper.attribute.user.filter";
108 
109     String LDAP_MAX_RESULT_COUNT = "ldap.config.max.result.count";
110 
111     String LDAP_BIND_AUTHENTICATOR_ENABLED = "ldap.bind.authenticator.enabled";
112 
113     String LDAP_BIND_AUTHENTICATOR_ALLOW_EMPTY_PASSWORDS = "ldap.bind.authenticator.allowEmptyPasswords";
114 
115     String PASSWORD_RETENTION_COUNT = "security.policy.password.previous.count";
116 
117     String LOGIN_ATTEMPT_COUNT = "security.policy.allowed.login.attempt";
118 
119     String PASSWORD_EXPIRATION_ENABLED = "security.policy.password.expiration.enabled";
120 
121     String PASSWORD_EXPIRATION = "security.policy.password.expiration.days";
122 
123     String UNLOCKABLE_ACCOUNTS = "security.policy.unlockable.accounts";
124 
125     String EMAIL_VALIDATION_TIMEOUT = "email.validation.timeout";
126 
127     String EMAIL_VALIDATION_REQUIRED = "email.validation.required";
128 
129     String ALPHA_COUNT_MIN = "security.policy.password.rule.alphacount.minimum";
130 
131     String ALPHA_COUNT_VIOLATION = "user.password.violation.alpha";
132 
133     String CHARACTER_LENGTH_MIN = "security.policy.password.rule.characterlength.minimum";
134 
135     String CHARACTER_LENGTH_MAX = "security.policy.password.rule.characterlength.maximum";
136 
137     String CHARACTER_LENGTH_MISCONFIGURED_VIOLATION = "user.password.violation.length.misconfigured";
138 
139     String CHARACTER_LENGTH_VIOLATION = "user.password.violation.length";
140 
141     String MINIMUM = "security.policy.password.rule.numericalcount.minimum";
142 
143     String NUMERICAL_COUNT_VIOLATION = "user.password.violation.numeric";
144 
145     String POLICY_PASSWORD_RULE_ALPHANUMERIC_ENABLED = "security.policy.password.rule.alphanumeric.enabled";
146 
147     String POLICY_PASSWORD_RULE_ALPHACOUNT_ENABLED = "security.policy.password.rule.alphacount.enabled";
148 
149     String POLICY_PASSWORD_RULE_CHARACTERLENGTH_ENABLED = "security.policy.password.rule.characterlength.enabled";
150 
151     String POLICY_PASSWORD_RULE_MUSTHAVE_ENABLED = "security.policy.password.rule.musthave.enabled";
152 
153     String POLICY_PASSWORD_RULE_NUMERICALCOUNT_ENABLED = "security.policy.password.rule.numericalcount.enabled";
154 
155     String POLICY_PASSWORD_RULE_REUSE_ENABLED = "security.policy.password.rule.reuse.enabled";
156 
157     String POLICY_PASSWORD_RULE_NOWHITTESPACE_ENABLED = "security.policy.password.rule.nowhitespace.enabled";
158 
159 }