KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jmanage > core > auth > AuthConstants


1 /**
2  * Copyright 2004-2005 jManage.org
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */

16 package org.jmanage.core.auth;
17
18 import org.jmanage.core.util.CoreUtils;
19
20 /**
21  * Date : Jun 27, 2004 1:50:07 PM
22  * @author Shashank
23  */

24 public interface AuthConstants {
25     public String JavaDoc USER_CONFIG_FILE_NAME = CoreUtils.getConfigDir()
26             + "/jmanage-users.xml";
27     public String JavaDoc AUTH_CONFIG_INDEX = "JManageAuth";
28     public String JavaDoc AUTH_CONFIG_FILE_NAME = CoreUtils.getConfigDir()
29             + "/jmanage-auth.conf";
30     public String JavaDoc AUTH_CONFIG_SYS_PROPERTY = "java.security.auth.login.config";
31     public String JavaDoc ROLE_CONFIG_FILE_NAME = CoreUtils.getConfigDir()
32             + "/jmanage-user-roles.xml";
33     /* 'jmanage-users.xml' file related constants */
34     public String JavaDoc JM_USERS = "jmanage-users";
35     public String JavaDoc USER = "user";
36     public String JavaDoc NAME = "name";
37     public String JavaDoc PASSWORD = "password";
38     public String JavaDoc STATUS = "status";
39     public String JavaDoc LOCK_COUNT = "lockCount";
40     public String JavaDoc ROLE = "role";
41
42     public String JavaDoc USER_ADMIN = "admin";
43
44 }
45
Popular Tags