Overview | Package | Class | Deprecated | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.exist.security.xacml
Class XACMLConstants

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

public final class XACMLConstants
extends java.lang.Object

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

Methods inherited from class java.lang.Object
`equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Field Detail

### ENABLE_XACML_ATTRIBUTE

    public static final java.lang.String ENABLE_XACML_ATTRIBUTE

See Also:
  Constant Field Values

### ENABLE_XACML_PROPERTY

    public static final java.lang.String ENABLE_XACML_PROPERTY

See Also:
  Constant Field Values

### LOAD_DEFAULT_POLICIES_ATTRIBUTE

    public static final java.lang.String LOAD_DEFAULT_POLICIES_ATTRIBUTE

See Also:
  Constant Field Values

### LOAD_DEFAULT_POLICIES_PROPERTY

    public static final java.lang.String LOAD_DEFAULT_POLICIES_PROPERTY

See Also:
  Constant Field Values

### XQUERY_OPERATORS_NS

    public static final java.lang.String XQUERY_OPERATORS_NS

See Also:
  Constant Field Values

### XACML_BASE

    public static final java.lang.String XACML_BASE

See Also:
  Constant Field Values

### VERSION_1_0

    public static final java.lang.String VERSION_1_0

See Also:
  Constant Field Values

### VERSION_1_0_BASE

    public static final java.lang.String VERSION_1_0_BASE

See Also:
  Constant Field Values

### RULE_COMBINING_BASE

    public static final java.lang.String RULE_COMBINING_BASE

See Also:
  Constant Field Values

### POLICY_COMBINING_BASE

    public static final java.lang.String POLICY_COMBINING_BASE

See Also:
  Constant Field Values

### XACML_DATATYPE_BASE

    public static final java.lang.String XACML_DATATYPE_BASE

See Also:
  Constant Field Values

### XACML_POLICY_NAMESPACE

    public static final java.lang.String XACML_POLICY_NAMESPACE

See Also:
  Constant Field Values

### XACML_REQUEST_NAMESPACE

    public static final java.lang.String XACML_REQUEST_NAMESPACE

See Also:
  Constant Field Values

### POLICY_SET_ELEMENT_LOCAL_NAME

    public static final java.lang.String POLICY_SET_ELEMENT_LOCAL_NAME

See Also:
  Constant Field Values

### POLICY_ELEMENT_LOCAL_NAME

    public static final java.lang.String POLICY_ELEMENT_LOCAL_NAME

See Also:
  Constant Field Values

### POLICY_SET_ID_LOCAL_NAME

    public static final java.lang.String POLICY_SET_ID_LOCAL_NAME

See Also:
  Constant Field Values

### POLICY_ID_LOCAL_NAME

    public static final java.lang.String POLICY_ID_LOCAL_NAME

See Also:
  Constant Field Values

### ACTION_ID_ATTRIBUTE

    public static final java.net.URI ACTION_ID_ATTRIBUTE

### ACTION_NS_ATTRIBUTE

    public static final java.net.URI ACTION_NS_ATTRIBUTE

### SUBJECT_ID_ATTRIBUTE

    public static final java.net.URI SUBJECT_ID_ATTRIBUTE

### RESOURCE_ID_ATTRIBUTE

    public static final java.net.URI RESOURCE_ID_ATTRIBUTE

### ACCESS_SUBJECT

    public static final java.net.URI ACCESS_SUBJECT

### CODEBASE_SUBJECT

    public static final java.net.URI CODEBASE_SUBJECT

### CURRENT_DATE_ATTRIBUTE

    public static final java.net.URI CURRENT_DATE_ATTRIBUTE

### CURRENT_TIME_ATTRIBUTE

    public static final java.net.URI CURRENT_TIME_ATTRIBUTE

### CURRENT_DATETIME_ATTRIBUTE

    public static final java.net.URI CURRENT_DATETIME_ATTRIBUTE

### STRING_TYPE

    public static final java.net.URI STRING_TYPE

### URI_TYPE

    public static final java.net.URI URI_TYPE

### DATE_TYPE

    public static final java.net.URI DATE_TYPE

### DATETIME_TYPE

    public static final java.net.URI DATETIME_TYPE

### TIME_TYPE

    public static final java.net.URI TIME_TYPE

### POLICY_COLLECTION_NAME

    public static final java.lang.String POLICY_COLLECTION_NAME

  The name of the policies collection.

  See Also:
    Constant Field Values

### POLICY_COLLECTION

    public static final java.lang.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 java.lang.String EXIST_XACML_NS

  The namespace used for eXist-specific XACML constants.

  See Also:
    Constant Field Values

### ACTION_NS

    public static final java.lang.String ACTION_NS

  The namespace used for action-related eXist-specific XACML constants

  See Also:
    Constant Field Values

### RESOURCE_NS

    public static final java.lang.String RESOURCE_NS

  The namespace used for resource-related eXist-specific XACML constants.

  See Also:
    Constant Field Values

### SUBJECT_NS

    public static final java.lang.String SUBJECT_NS

  The namespace used for subject-related eXist-specific XACML constants.

  See Also:
    Constant Field Values

### ENVIRONMENT_NS

    public static final java.lang.String ENVIRONMENT_NS

  The namespace used for environment-related eXist-specific XACML constants

  See Also:
    Constant Field Values

### SUBJECT_NS_ATTRIBUTE

    public static final java.net.URI SUBJECT_NS_ATTRIBUTE

  The attribute ID for the attribute that provides the namespace URI of a module.

### MODULE_NS_ATTRIBUTE

    public static final java.net.URI MODULE_NS_ATTRIBUTE

  The attribute ID for the attribute that provides the namespace URI of a module.

### MODULE_CATEGORY_ATTRIBUTE

    public static final java.net.URI MODULE_CATEGORY_ATTRIBUTE

  The attribute ID for the attribute that provides the category of an XQuery module.

### SOURCE_KEY_ATTRIBUTE

    public static final java.net.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 java.net.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 java.net.URI RESOURCE_CATEGORY_ATTRIBUTE

  The attribute ID for the attribute that provides the category of a resource.

### USER_NAME_ATTRIBUTE

    public static final java.net.URI USER_NAME_ATTRIBUTE

  The attribute ID for the attribute that provides the name of a user.

### GROUP_ATTRIBUTE

    public static final java.net.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 java.net.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 java.lang.String INTERNAL_LIBRARY_MODULE

  The internal/builtin XQuery library module type.

  See Also:
    Constant Field Values

### EXTERNAL_LIBRARY_MODULE

    public static final java.lang.String EXTERNAL_LIBRARY_MODULE

  The external/non-builtin XQuery library module type.

  See Also:
    Constant Field Values

### MAIN_MODULE

    public static final java.lang.String MAIN_MODULE

  The external/non-builtin XQuery main module type.

  See Also:
    Constant Field Values

### INVOKE_METHOD_ACTION

    public static final java.lang.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 java.lang.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 java.lang.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 java.lang.String METHOD_RESOURCE

  The Java method resource type.

  See Also:
    Constant Field Values

### FUNCTION_RESOURCE

    public static final java.lang.String FUNCTION_RESOURCE

  The query function resource type.

  See Also:
    Constant Field Values

### MAIN_MODULE_RESOURCE

    public static final java.lang.String MAIN_MODULE_RESOURCE

  The main XQuery module resource type.

  See Also:
    Constant Field Values

### CLASS_SOURCE_TYPE

    public static final java.lang.String CLASS_SOURCE_TYPE

  The source type for Java classes.

  See Also:
    Constant Field Values

### FILE_SOURCE_TYPE

    public static final java.lang.String FILE_SOURCE_TYPE

  The source type for files.

  See Also:
    Constant Field Values

### DB_SOURCE_TYPE

    public static final java.lang.String DB_SOURCE_TYPE

  The source type for documents from the database.

  See Also:
    Constant Field Values

### URL_SOURCE_TYPE

    public static final java.lang.String URL_SOURCE_TYPE

  The source type for URLs.

  See Also:
    Constant Field Values

### CLASSLOADER_SOURCE_TYPE

    public static final java.lang.String CLASSLOADER_SOURCE_TYPE

  The source type for resources loaded by the ClassLoader.

  See Also:
    Constant Field Values

### STRING_SOURCE_TYPE

    public static final java.lang.String STRING_SOURCE_TYPE

  The source type for constructed strings.

  See Also:
    Constant Field Values

### COCOON_SOURCE_TYPE

    public static final java.lang.String COCOON_SOURCE_TYPE

  The source type for cocoon sources.

  See Also:
    Constant Field Values

Overview | Package | Class | Deprecated | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright (C) Wolfgang Meier. All rights reserved.