strolch/src/ch/eitchnet/privilege/helper/XmlConstants.java

200 lines
4.4 KiB
Java
Raw Normal View History

2010-05-29 20:47:04 +02:00
/*
* Copyright (c) 2010, 2011
2010-05-29 20:47:04 +02:00
*
* Robert von Burg <eitch@eitchnet.ch>
2010-05-29 20:47:04 +02:00
*
*/
/*
* This file is part of Privilege.
*
* Privilege is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* Privilege is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with Privilege. If not, see <http://www.gnu.org/licenses/>.
2010-05-29 20:47:04 +02:00
*
*/
2010-09-18 22:00:20 +02:00
package ch.eitchnet.privilege.helper;
2010-05-29 20:47:04 +02:00
/**
* The constants used in parsing XML documents which contain the configuration for Privilege
2010-05-29 20:47:04 +02:00
*
* @author Robert von Burg <eitch@eitchnet.ch>
2010-05-29 20:47:04 +02:00
*/
public class XmlConstants {
2010-11-27 22:54:46 +01:00
/**
* XML_ROOT_PRIVILEGE_CONTAINER = "PrivilegeContainer" :
*/
public static final String XML_ROOT_PRIVILEGE = "Privilege";
2010-11-27 22:54:46 +01:00
/**
* XML_CONTAINER = "Container" :
2010-11-27 22:54:46 +01:00
*/
public static final String XML_CONTAINER = "Container";
2010-11-27 22:54:46 +01:00
/**
* XML_POLICIES = "Policies" :
2010-11-27 22:54:46 +01:00
*/
public static final String XML_POLICIES = "Policies";
2010-11-27 22:54:46 +01:00
/**
* XML_PRIVILEGES = "Privileges" :
2010-11-27 22:54:46 +01:00
*/
public static final String XML_PRIVILEGES = "Privileges";
2010-11-27 22:54:46 +01:00
/**
* XML_ROOT_PRIVILEGE_USERS_AND_ROLES = "UsersAndRoles" :
2010-11-27 22:54:46 +01:00
*/
public static final String XML_ROOT_PRIVILEGE_USERS_AND_ROLES = "UsersAndRoles";
2010-07-14 23:26:52 +02:00
2010-11-27 22:54:46 +01:00
/**
* XML_HANDLER_PERSISTENCE = "PersistenceHandler" :
*/
public static final String XML_HANDLER_PERSISTENCE = "PersistenceHandler";
2010-11-27 22:54:46 +01:00
/**
* XML_HANDLER_ENCRYPTION = "EncryptionHandler" :
*/
2010-05-29 20:47:04 +02:00
public static final String XML_HANDLER_ENCRYPTION = "EncryptionHandler";
2010-11-27 22:54:46 +01:00
/**
* XML_HANDLER_PRIVILEGE = "PrivilegeHandler" :
*/
2010-09-18 22:00:20 +02:00
public static final String XML_HANDLER_PRIVILEGE = "PrivilegeHandler";
2010-05-29 20:47:04 +02:00
2010-11-27 22:54:46 +01:00
/**
* XML_ROLES = "Roles" :
*/
2010-05-30 21:28:39 +02:00
public static final String XML_ROLES = "Roles";
2010-11-27 22:54:46 +01:00
/**
* XML_ROLE = "Role" :
*/
2010-05-31 23:44:15 +02:00
public static final String XML_ROLE = "Role";
2010-11-27 22:54:46 +01:00
/**
* XML_USERS = "Users" :
*/
2010-06-05 23:06:03 +02:00
public static final String XML_USERS = "Users";
2010-11-27 22:54:46 +01:00
/**
* XML_USER = "User"
*/
2010-05-30 21:28:39 +02:00
public static final String XML_USER = "User";
2010-11-27 22:54:46 +01:00
/**
* XML_PRIVILEGE = "Privilege" :
*/
2010-05-30 21:28:39 +02:00
public static final String XML_PRIVILEGE = "Privilege";
2010-11-27 22:54:46 +01:00
/**
* XML_POLICY = "Policy" :
*/
2010-05-30 00:32:53 +02:00
public static final String XML_POLICY = "Policy";
2010-11-27 22:54:46 +01:00
/**
* XML_PARAMETERS = "Parameters" :
*/
2010-05-29 20:47:04 +02:00
public static final String XML_PARAMETERS = "Parameters";
2010-11-27 22:54:46 +01:00
/**
* XML_PARAMETER = "Parameter" :
*/
2010-06-05 23:06:03 +02:00
public static final String XML_PARAMETER = "Parameter";
2010-11-27 22:54:46 +01:00
/**
* XML_ALL_ALLOWED = "AllAllowed" :
*/
2010-05-31 23:44:15 +02:00
public static final String XML_ALL_ALLOWED = "AllAllowed";
2010-11-27 22:54:46 +01:00
/**
* XML_DENY = "Deny" :
*/
2010-05-31 23:44:15 +02:00
public static final String XML_DENY = "Deny";
2010-11-27 22:54:46 +01:00
/**
* XML_ALLOW = "Allow" :
*/
2010-05-31 23:44:15 +02:00
public static final String XML_ALLOW = "Allow";
2010-11-27 22:54:46 +01:00
/**
* XML_FIRSTNAME = "Firstname" :
*/
2010-05-31 23:44:15 +02:00
public static final String XML_FIRSTNAME = "Firstname";
2010-11-27 22:54:46 +01:00
/**
* XML_SURNAME = "Surname" :
*/
2010-05-31 23:44:15 +02:00
public static final String XML_SURNAME = "Surname";
2010-11-27 22:54:46 +01:00
/**
* XML_STATE = "State" :
*/
2010-05-31 23:44:15 +02:00
public static final String XML_STATE = "State";
2010-11-27 22:54:46 +01:00
/**
* XML_LOCALE = "Locale" :
*/
2010-05-31 23:44:15 +02:00
public static final String XML_LOCALE = "Locale";
2010-05-29 21:11:28 +02:00
2010-11-27 22:54:46 +01:00
/**
* XML_ATTR_CLASS = "class" :
*/
2010-05-29 20:47:04 +02:00
public static final String XML_ATTR_CLASS = "class";
2010-11-27 22:54:46 +01:00
/**
* XML_ATTR_NAME = "name" :
*/
2010-05-30 00:32:53 +02:00
public static final String XML_ATTR_NAME = "name";
2010-11-27 22:54:46 +01:00
/**
* XML_ATTR_VALUE = "value" :
*/
2010-06-05 23:06:03 +02:00
public static final String XML_ATTR_VALUE = "value";
2010-11-27 22:54:46 +01:00
/**
* XML_ATTR_POLICY = "policy" :
*/
2010-05-30 21:28:39 +02:00
public static final String XML_ATTR_POLICY = "policy";
2010-11-27 22:54:46 +01:00
/**
* XML_ATTR_USER_ID = "userId" :
*/
2010-09-19 22:19:38 +02:00
public static final String XML_ATTR_USER_ID = "userId";
2010-11-27 22:54:46 +01:00
/**
* XML_ATTR_USERNAME = "username" :
*/
2010-05-30 21:28:39 +02:00
public static final String XML_ATTR_USERNAME = "username";
2010-11-27 22:54:46 +01:00
/**
* XML_ATTR_PASSWORD = "password" :
*/
2010-05-30 21:28:39 +02:00
public static final String XML_ATTR_PASSWORD = "password";
2010-05-29 20:47:04 +02:00
2010-11-27 22:54:46 +01:00
/**
* XML_PARAM_HASH_ALGORITHM = "hashAlgorithm" :
*/
2010-05-29 20:47:04 +02:00
public static final String XML_PARAM_HASH_ALGORITHM = "hashAlgorithm";
2010-11-27 22:54:46 +01:00
/**
* XML_PARAM_MODEL_FILE = "modelXmlFile" :
2010-11-27 22:54:46 +01:00
*/
public static final String XML_PARAM_MODEL_FILE = "modelXmlFile";
2010-11-27 22:54:46 +01:00
/**
* XML_PARAM_BASE_PATH = "basePath" :
*/
2010-09-18 22:00:20 +02:00
public static final String XML_PARAM_BASE_PATH = "basePath";
2010-05-29 20:47:04 +02:00
}