org.exist.security.xacml
Class XACMLConstants

java.lang.Object
  extended by org.exist.security.xacml.XACMLConstants

public final class XACMLConstants
extends Object

This class provides constants for use in creating XACML requests. It provides some Strings and URIs for both constants defined in the XACML specification and ones for eXist-specific use. Because Sun's XACML implementation currently supports versions 1.0 and 1.1 of the specification but only recognizes the 1.0 version of constants, only the 1.0 strings are here.


Field Summary
static URI ACCESS_CONTEXT_ATTRIBUTE
          The attribute ID for the attribute that provides the names of the groups to which a user belongs.
static URI ACCESS_SUBJECT
           
static URI ACTION_ID_ATTRIBUTE
           
static String ACTION_NS
          The namespace used for action-related eXist-specific XACML constants
static URI ACTION_NS_ATTRIBUTE
           
static String CALL_FUNCTION_ACTION
          The action-id corresponding to a request to call a function in an XQuery.
static String CLASS_SOURCE_TYPE
          The source type for Java classes.
static String CLASSLOADER_SOURCE_TYPE
          The source type for resources loaded by the ClassLoader.
static String COCOON_SOURCE_TYPE
          The source type for cocoon sources.
static URI CODEBASE_SUBJECT
           
static String CONFIGURATION_ELEMENT_NAME
           
static URI CURRENT_DATE_ATTRIBUTE
           
static URI CURRENT_DATETIME_ATTRIBUTE
           
static URI CURRENT_TIME_ATTRIBUTE
           
static URI DATE_TYPE
           
static URI DATETIME_TYPE
           
static String DB_SOURCE_TYPE
          The source type for documents from the database.
static String ENABLE_XACML_ATTRIBUTE
           
static boolean ENABLE_XACML_BY_DEFAULT
           
static String ENABLE_XACML_PROPERTY
           
static String ENVIRONMENT_NS
          The namespace used for environment-related eXist-specific XACML constants
static String EXECUTE_QUERY_ACTION
          The action-id corresponding to a request to execute a main XQuery module.
static String EXIST_XACML_NS
          The namespace used for eXist-specific XACML constants.
static String EXTERNAL_LIBRARY_MODULE
          The external/non-builtin XQuery library module type.
static String FILE_SOURCE_TYPE
          The source type for files.
static String FUNCTION_RESOURCE
          The query function resource type.
static URI GROUP_ATTRIBUTE
          The attribute ID for the attribute that provides the names of the groups to which a user belongs.
static String INTERNAL_LIBRARY_MODULE
          The internal/builtin XQuery library module type.
static String INVOKE_METHOD_ACTION
          The action-id corresponding to a request to reflectively invoke a method of a Java class in XQuery.
static String LOAD_DEFAULT_POLICIES_ATTRIBUTE
           
static String LOAD_DEFAULT_POLICIES_PROPERTY
           
static String MAIN_MODULE
          The external/non-builtin XQuery main module type.
static String MAIN_MODULE_RESOURCE
          The main XQuery module resource type.
static String METHOD_RESOURCE
          The Java method resource type.
static URI MODULE_CATEGORY_ATTRIBUTE
          The attribute ID for the attribute that provides the category of an XQuery module.
static URI MODULE_NS_ATTRIBUTE
          The attribute ID for the attribute that provides the namespace URI of a module.
static String POLICY_COLLECTION
          The location of the top-level Policy and/or PolicySet documents.
static String POLICY_COLLECTION_NAME
          The name of the policies collection.
static XmldbURI POLICY_COLLECTION_URI
          The location of the top-level Policy and/or PolicySet documents.
static String POLICY_COMBINING_BASE
           
static String POLICY_ELEMENT_LOCAL_NAME
           
static String POLICY_ID_LOCAL_NAME
           
static String POLICY_SET_ELEMENT_LOCAL_NAME
           
static String POLICY_SET_ID_LOCAL_NAME
           
static URI RESOURCE_CATEGORY_ATTRIBUTE
          The attribute ID for the attribute that provides the category of a resource.
static URI RESOURCE_ID_ATTRIBUTE
           
static String RESOURCE_NS
          The namespace used for resource-related eXist-specific XACML constants.
static String RULE_COMBINING_BASE
           
static URI SOURCE_KEY_ATTRIBUTE
          The attribute ID for the attribute the describes the source of some content, such as a module, a query.
static URI SOURCE_TYPE_ATTRIBUTE
          The attribute ID for the attribute the describes the type of source of some content, such as a module, a query.
static String STRING_SOURCE_TYPE
          The source type for constructed strings.
static URI STRING_TYPE
           
static URI SUBJECT_ID_ATTRIBUTE
           
static String SUBJECT_NS
          The namespace used for subject-related eXist-specific XACML constants.
static URI SUBJECT_NS_ATTRIBUTE
          The attribute ID for the attribute that provides the namespace URI of a module.
static URI TIME_TYPE
           
static URI URI_TYPE
           
static String URL_SOURCE_TYPE
          The source type for URLs.
static URI USER_NAME_ATTRIBUTE
          The attribute ID for the attribute that provides the name of a user.
static String VERSION_1_0
           
static String VERSION_1_0_BASE
           
static String XACML_BASE
           
static String XACML_DATATYPE_BASE
           
static String XACML_POLICY_NAMESPACE
           
static String XACML_REQUEST_NAMESPACE
           
static String XQUERY_OPERATORS_NS
           
 
Method Summary
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CONFIGURATION_ELEMENT_NAME

public static final String CONFIGURATION_ELEMENT_NAME
See Also:
Constant Field Values

ENABLE_XACML_ATTRIBUTE

public static final String ENABLE_XACML_ATTRIBUTE
See Also:
Constant Field Values

ENABLE_XACML_PROPERTY

public static final String ENABLE_XACML_PROPERTY
See Also:
Constant Field Values

ENABLE_XACML_BY_DEFAULT

public static final boolean ENABLE_XACML_BY_DEFAULT
See Also:
Constant Field Values

LOAD_DEFAULT_POLICIES_ATTRIBUTE

public static final String LOAD_DEFAULT_POLICIES_ATTRIBUTE
See Also:
Constant Field Values

LOAD_DEFAULT_POLICIES_PROPERTY

public static final String LOAD_DEFAULT_POLICIES_PROPERTY
See Also:
Constant Field Values

XQUERY_OPERATORS_NS

public static final String XQUERY_OPERATORS_NS
See Also:
Constant Field Values

XACML_BASE

public static final String XACML_BASE
See Also:
Constant Field Values

VERSION_1_0

public static final String VERSION_1_0
See Also:
Constant Field Values

VERSION_1_0_BASE

public static final String VERSION_1_0_BASE
See Also:
Constant Field Values

RULE_COMBINING_BASE

public static final String RULE_COMBINING_BASE
See Also:
Constant Field Values

POLICY_COMBINING_BASE

public static final String POLICY_COMBINING_BASE
See Also:
Constant Field Values

XACML_DATATYPE_BASE

public static final String XACML_DATATYPE_BASE
See Also:
Constant Field Values

XACML_POLICY_NAMESPACE

public static final String XACML_POLICY_NAMESPACE
See Also:
Constant Field Values

XACML_REQUEST_NAMESPACE

public static final String XACML_REQUEST_NAMESPACE
See Also:
Constant Field Values

POLICY_SET_ELEMENT_LOCAL_NAME

public static final String POLICY_SET_ELEMENT_LOCAL_NAME
See Also:
Constant Field Values

POLICY_ELEMENT_LOCAL_NAME

public static final String POLICY_ELEMENT_LOCAL_NAME
See Also:
Constant Field Values

POLICY_SET_ID_LOCAL_NAME

public static final String POLICY_SET_ID_LOCAL_NAME
See Also:
Constant Field Values

POLICY_ID_LOCAL_NAME

public static final String POLICY_ID_LOCAL_NAME
See Also:
Constant Field Values

ACTION_ID_ATTRIBUTE

public static final URI ACTION_ID_ATTRIBUTE

ACTION_NS_ATTRIBUTE

public static final URI ACTION_NS_ATTRIBUTE

SUBJECT_ID_ATTRIBUTE

public static final URI SUBJECT_ID_ATTRIBUTE

RESOURCE_ID_ATTRIBUTE

public static final URI RESOURCE_ID_ATTRIBUTE

ACCESS_SUBJECT

public static final URI ACCESS_SUBJECT

CODEBASE_SUBJECT

public static final URI CODEBASE_SUBJECT

CURRENT_DATE_ATTRIBUTE

public static final URI CURRENT_DATE_ATTRIBUTE

CURRENT_TIME_ATTRIBUTE

public static final URI CURRENT_TIME_ATTRIBUTE

CURRENT_DATETIME_ATTRIBUTE

public static final URI CURRENT_DATETIME_ATTRIBUTE

STRING_TYPE

public static final URI STRING_TYPE

URI_TYPE

public static final URI URI_TYPE

DATE_TYPE

public static final URI DATE_TYPE

DATETIME_TYPE

public static final URI DATETIME_TYPE

TIME_TYPE

public static final URI TIME_TYPE

POLICY_COLLECTION_NAME

public static final String POLICY_COLLECTION_NAME
The name of the policies collection.

See Also:
Constant Field Values

POLICY_COLLECTION

public static final String POLICY_COLLECTION
The location of the top-level Policy and/or PolicySet documents.

See Also:
Constant Field Values

POLICY_COLLECTION_URI

public static final XmldbURI POLICY_COLLECTION_URI
The location of the top-level Policy and/or PolicySet documents.


EXIST_XACML_NS

public static final String EXIST_XACML_NS
The namespace used for eXist-specific XACML constants.

See Also:
Constant Field Values

ACTION_NS

public static final String ACTION_NS
The namespace used for action-related eXist-specific XACML constants

See Also:
Constant Field Values

RESOURCE_NS

public static final String RESOURCE_NS
The namespace used for resource-related eXist-specific XACML constants.

See Also:
Constant Field Values

SUBJECT_NS

public static final String SUBJECT_NS
The namespace used for subject-related eXist-specific XACML constants.

See Also:
Constant Field Values

ENVIRONMENT_NS

public static final String ENVIRONMENT_NS
The namespace used for environment-related eXist-specific XACML constants

See Also:
Constant Field Values

SUBJECT_NS_ATTRIBUTE

public static final URI SUBJECT_NS_ATTRIBUTE
The attribute ID for the attribute that provides the namespace URI of a module.


MODULE_NS_ATTRIBUTE

public static final URI MODULE_NS_ATTRIBUTE
The attribute ID for the attribute that provides the namespace URI of a module.


MODULE_CATEGORY_ATTRIBUTE

public static final URI MODULE_CATEGORY_ATTRIBUTE
The attribute ID for the attribute that provides the category of an XQuery module.


SOURCE_KEY_ATTRIBUTE

public static final URI SOURCE_KEY_ATTRIBUTE
The attribute ID for the attribute the describes the source of some content, such as a module, a query.


SOURCE_TYPE_ATTRIBUTE

public static final URI SOURCE_TYPE_ATTRIBUTE
The attribute ID for the attribute the describes the type of source of some content, such as a module, a query.


RESOURCE_CATEGORY_ATTRIBUTE

public static final URI RESOURCE_CATEGORY_ATTRIBUTE
The attribute ID for the attribute that provides the category of a resource.


USER_NAME_ATTRIBUTE

public static final URI USER_NAME_ATTRIBUTE
The attribute ID for the attribute that provides the name of a user.


GROUP_ATTRIBUTE

public static final URI GROUP_ATTRIBUTE
The attribute ID for the attribute that provides the names of the groups to which a user belongs.


ACCESS_CONTEXT_ATTRIBUTE

public static final URI ACCESS_CONTEXT_ATTRIBUTE
The attribute ID for the attribute that provides the names of the groups to which a user belongs.


INTERNAL_LIBRARY_MODULE

public static final String INTERNAL_LIBRARY_MODULE
The internal/builtin XQuery library module type.

See Also:
Constant Field Values

EXTERNAL_LIBRARY_MODULE

public static final String EXTERNAL_LIBRARY_MODULE
The external/non-builtin XQuery library module type.

See Also:
Constant Field Values

MAIN_MODULE

public static final String MAIN_MODULE
The external/non-builtin XQuery main module type.

See Also:
Constant Field Values

INVOKE_METHOD_ACTION

public static final String INVOKE_METHOD_ACTION
The action-id corresponding to a request to reflectively invoke a method of a Java class in XQuery.

See Also:
Constant Field Values

CALL_FUNCTION_ACTION

public static final String CALL_FUNCTION_ACTION
The action-id corresponding to a request to call a function in an XQuery.

See Also:
Constant Field Values

EXECUTE_QUERY_ACTION

public static final String EXECUTE_QUERY_ACTION
The action-id corresponding to a request to execute a main XQuery module.

See Also:
Constant Field Values

METHOD_RESOURCE

public static final String METHOD_RESOURCE
The Java method resource type.

See Also:
Constant Field Values

FUNCTION_RESOURCE

public static final String FUNCTION_RESOURCE
The query function resource type.

See Also:
Constant Field Values

MAIN_MODULE_RESOURCE

public static final String MAIN_MODULE_RESOURCE
The main XQuery module resource type.

See Also:
Constant Field Values

CLASS_SOURCE_TYPE

public static final String CLASS_SOURCE_TYPE
The source type for Java classes.

See Also:
Constant Field Values

FILE_SOURCE_TYPE

public static final String FILE_SOURCE_TYPE
The source type for files.

See Also:
Constant Field Values

DB_SOURCE_TYPE

public static final String DB_SOURCE_TYPE
The source type for documents from the database.

See Also:
Constant Field Values

URL_SOURCE_TYPE

public static final String URL_SOURCE_TYPE
The source type for URLs.

See Also:
Constant Field Values

CLASSLOADER_SOURCE_TYPE

public static final String CLASSLOADER_SOURCE_TYPE
The source type for resources loaded by the ClassLoader.

See Also:
Constant Field Values

STRING_SOURCE_TYPE

public static final String STRING_SOURCE_TYPE
The source type for constructed strings.

See Also:
Constant Field Values

COCOON_SOURCE_TYPE

public static final String COCOON_SOURCE_TYPE
The source type for cocoon sources.

See Also:
Constant Field Values


Copyright (C) Wolfgang Meier. All rights reserved.