]> git.argeo.org Git - lgpl/argeo-commons.git/blob - AuthConstants.java
a5a2d49d4a0816455ed4f393bf1046187b24402f
[lgpl/argeo-commons.git] / AuthConstants.java
1 package org.argeo.cms.auth;
2
3 import org.argeo.node.NodeConstants;
4
5 /** Public properties of the CMS Kernel */
6 interface AuthConstants {
7
8 static final String SHARED_STATE_USERNAME = "javax.security.auth.login.name";
9 static final String SHARED_STATE_PASSWORD = "javax.security.auth.login.password";
10
11 // LOGIN CONTEXTS
12 /**
13 * @deprecated Use {@link NodeConstants#LOGIN_CONTEXT_USER} instead
14 */
15 final static String LOGIN_CONTEXT_USER = NodeConstants.LOGIN_CONTEXT_USER;
16 /**
17 * @deprecated Use {@link NodeConstants#LOGIN_CONTEXT_ANONYMOUS} instead
18 */
19 // final static String LOGIN_CONTEXT_ANONYMOUS = NodeConstants.LOGIN_CONTEXT_ANONYMOUS;
20 /**
21 * @deprecated Use {@link NodeConstants#LOGIN_CONTEXT_DATA_ADMIN} instead
22 */
23 final static String LOGIN_CONTEXT_DATA_ADMIN = NodeConstants.LOGIN_CONTEXT_DATA_ADMIN;
24 /**
25 * @deprecated Use {@link NodeConstants#LOGIN_CONTEXT_SINGLE_USER} instead
26 */
27 final static String LOGIN_CONTEXT_SINGLE_USER = NodeConstants.LOGIN_CONTEXT_SINGLE_USER;
28
29 // RESERVED ROLES
30 // public final static String ROLE_KERNEL = "OU=node";
31 /**
32 * @deprecated Use {@link NodeConstants#ROLES_BASEDN} instead
33 */
34 public final static String ROLES_BASEDN = NodeConstants.ROLES_BASEDN;
35 /**
36 * @deprecated Use {@link NodeConstants#ROLE_ADMIN} instead
37 */
38 public final static String ROLE_ADMIN = NodeConstants.ROLE_ADMIN;
39 public final static String ROLE_GROUP_ADMIN = "cn=groupAdmin," + NodeConstants.ROLES_BASEDN;
40 /**
41 * @deprecated Use {@link NodeConstants#ROLE_USER_ADMIN} instead
42 */
43 public final static String ROLE_USER_ADMIN = NodeConstants.ROLE_USER_ADMIN;
44 // Special system groups that cannot be edited:
45 // user U anonymous = everyone
46 /**
47 * @deprecated Use {@link NodeConstants#ROLE_USER} instead
48 */
49 public final static String ROLE_USER = NodeConstants.ROLE_USER;
50 /**
51 * @deprecated Use {@link NodeConstants#ROLE_ANONYMOUS} instead
52 */
53 public final static String ROLE_ANONYMOUS = NodeConstants.ROLE_ANONYMOUS;
54
55 }