X-Git-Url: http://git.argeo.org/?a=blobdiff_plain;f=org.argeo.cms%2Fsrc%2Forg%2Fargeo%2Fcms%2Fauth%2FAuthConstants.java;fp=org.argeo.cms%2Fsrc%2Forg%2Fargeo%2Fcms%2Fauth%2FAuthConstants.java;h=113e0830cf52136a6e399257c3ad9413059d8f73;hb=a444205e81419d439635a9e0ff3382ae3f5d9947;hp=cd793332c9df769f7fcc40eaefc99a695a7dad8e;hpb=4ad4e4cff2c072ef612281cc93ca1c66017b7af8;p=lgpl%2Fargeo-commons.git diff --git a/org.argeo.cms/src/org/argeo/cms/auth/AuthConstants.java b/org.argeo.cms/src/org/argeo/cms/auth/AuthConstants.java index cd793332c..113e0830c 100644 --- a/org.argeo.cms/src/org/argeo/cms/auth/AuthConstants.java +++ b/org.argeo.cms/src/org/argeo/cms/auth/AuthConstants.java @@ -1,10 +1,10 @@ package org.argeo.cms.auth; import org.argeo.node.NodeConstants; -import org.osgi.service.http.HttpContext; /** Public properties of the CMS Kernel */ -public interface AuthConstants { +@Deprecated +interface AuthConstants { // LOGIN CONTEXTS /** * @deprecated Use {@link NodeConstants#LOGIN_CONTEXT_USER} instead @@ -13,7 +13,7 @@ public interface AuthConstants { /** * @deprecated Use {@link NodeConstants#LOGIN_CONTEXT_ANONYMOUS} instead */ - final static String LOGIN_CONTEXT_ANONYMOUS = NodeConstants.LOGIN_CONTEXT_ANONYMOUS; +// final static String LOGIN_CONTEXT_ANONYMOUS = NodeConstants.LOGIN_CONTEXT_ANONYMOUS; /** * @deprecated Use {@link NodeConstants#LOGIN_CONTEXT_DATA_ADMIN} instead */ @@ -24,11 +24,11 @@ public interface AuthConstants { final static String LOGIN_CONTEXT_SINGLE_USER = NodeConstants.LOGIN_CONTEXT_SINGLE_USER; // RESERVED ROLES - // public final static String ROLE_KERNEL = "OU=node"; - /** - * @deprecated Use {@link NodeConstants#ROLES_BASEDN} instead - */ - public final static String ROLES_BASEDN = NodeConstants.ROLES_BASEDN; + // public final static String ROLE_KERNEL = "OU=node"; + /** + * @deprecated Use {@link NodeConstants#ROLES_BASEDN} instead + */ + public final static String ROLES_BASEDN = NodeConstants.ROLES_BASEDN; /** * @deprecated Use {@link NodeConstants#ROLE_ADMIN} instead */ @@ -49,10 +49,4 @@ public interface AuthConstants { */ public final static String ROLE_ANONYMOUS = NodeConstants.ROLE_ANONYMOUS; - // SHARED STATE KEYS - // compatible with com.sun.security.auth.module.*LoginModule -// public static final String SHARED_STATE_USERNAME = "javax.security.auth.login.name"; -// public static final String SHARED_STATE_PASSWORD = "javax.security.auth.login.password"; - public static final String SHARED_STATE_AUTHORIZATION = HttpContext.AUTHORIZATION; - }