1 /* 2 * Copyright 2008 Members of the EGEE Collaboration. 3 * Copyright 2008 University Corporation for Advanced Internet Development, Inc. 4 * 5 * Licensed under the Apache License, Version 2.0 (the "License"); 6 * you may not use this file except in compliance with the License. 7 * You may obtain a copy of the License at 8 * 9 * http://www.apache.org/licenses/LICENSE-2.0 10 * 11 * Unless required by applicable law or agreed to in writing, software 12 * distributed under the License is distributed on an "AS IS" BASIS, 13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 * See the License for the specific language governing permissions and 15 * limitations under the License. 16 */ 17 18 package org.opensaml.xacml; 19 20 /** Defines the constants for the XACML providers. */ 21 public class XACMLConstants { 22 23 /** The prefix for the use of xacml policy. */ 24 public static final String XACML_PREFIX = "xacml"; 25 26 /** The prefix for the use of xacml context. */ 27 public static final String XACMLCONTEXT_PREFIX = "xacml-context"; 28 29 /** The namespaces for use of XACML 1.0 context. */ 30 public static final String XACML10CTX_NS = "urn:oasis:names:tc:xacml:1.0:context"; 31 32 /** The namespaces for use of XACML 1.0 policy. */ 33 public static final String XACML10_NS = "urn:oasis:names:tc:xacml:1.0:policy"; 34 35 /** The namespaces for use of XACML 2.0 context. */ 36 public static final String XACML20CTX_NS = "urn:oasis:names:tc:xacml:2.0:context:schema:os"; 37 38 /** The namespaces for use of XACML 2.0 policy. */ 39 public static final String XACML20_NS = "urn:oasis:names:tc:xacml:2.0:policy:schema:os"; 40 41 /** The namespaces for use of XACML 3.0. */ 42 public static final String XACML30_NS = "urn:oasis:names:tc:xacml:3.0:schema:os"; 43 44 /** X.500 Name datatype URI. */ 45 public static final String X500_NAME_DATATYPE_URI = "urn:oasis:names:tc:xacml:1.0:data-type:x500Name"; 46 47 /** RFC822 Name datatype URI. */ 48 public static final String RFC822_NAME_DATATYPE_URI = "urn:oasis:names:tc:xacml:1.0:data-type:rfc822Name"; 49 50 /** IP address datatype URI. */ 51 public static final String IP_ADDRESS_DATATYPE_URI = "urn:oasis:names:tc:xacml:1.0:data-type:ipAddress"; 52 53 /** DNS Name datatype URI. */ 54 public static final String DNS_NAME_DATATYPE_URI = "urn:oasis:names:tc:xacml:1.0:data-type:dnsName"; 55 }