Oracle Fusion Middleware
Oracle WebLogic Server API Reference
11g Release 1 (10.3.6)

Part Number E13941-06

com.bea.common.security.xacml
Class PolicyUtils

java.lang.Object
  extended by com.bea.common.security.xacml.PolicyUtils

public class PolicyUtils
extends Object

Utilities for parsing policy schema documents into object hierarchy


Method Summary
static void checkXACMLSchema(String policyString)
           
static com.bea.common.security.xacml.policy.AbstractPolicy read(com.bea.common.security.xacml.attr.AttributeRegistry attrReg, InputStream data, DocumentBuilderFactory dbFactory)
           
static com.bea.common.security.xacml.policy.AbstractPolicy read(com.bea.common.security.xacml.attr.AttributeRegistry attrReg, InputStream data, DocumentBuilderFactory dbFactory, boolean checkSchema)
           
static com.bea.common.security.xacml.policy.AbstractPolicy read(com.bea.common.security.xacml.attr.AttributeRegistry attrReg, String data, DocumentBuilderFactory dbFactory)
           
static com.bea.common.security.xacml.policy.AbstractPolicy read(com.bea.common.security.xacml.attr.AttributeRegistry attrReg, String data, DocumentBuilderFactory dbFactory, boolean checkSchema)
           
static com.bea.common.security.xacml.policy.Policy readPolicy(com.bea.common.security.xacml.attr.AttributeRegistry attrReg, InputStream policy, DocumentBuilderFactory dbFactory)
           
static com.bea.common.security.xacml.policy.Policy readPolicy(com.bea.common.security.xacml.attr.AttributeRegistry attrReg, InputStream policy, DocumentBuilderFactory dbFactory, boolean checkSchema)
           
static com.bea.common.security.xacml.policy.Policy readPolicy(com.bea.common.security.xacml.attr.AttributeRegistry attrReg, String policy, DocumentBuilderFactory dbFactory)
           
static com.bea.common.security.xacml.policy.Policy readPolicy(com.bea.common.security.xacml.attr.AttributeRegistry attrReg, String policy, DocumentBuilderFactory dbFactory, boolean checkSchema)
           
static com.bea.common.security.xacml.policy.PolicySet readPolicySet(com.bea.common.security.xacml.attr.AttributeRegistry attrReg, InputStream policySet, DocumentBuilderFactory dbFactory)
           
static com.bea.common.security.xacml.policy.PolicySet readPolicySet(com.bea.common.security.xacml.attr.AttributeRegistry attrReg, InputStream policySet, DocumentBuilderFactory dbFactory, boolean checkSchema)
           
static com.bea.common.security.xacml.policy.PolicySet readPolicySet(com.bea.common.security.xacml.attr.AttributeRegistry attrReg, String policySet, DocumentBuilderFactory dbFactory)
           
static com.bea.common.security.xacml.policy.PolicySet readPolicySet(com.bea.common.security.xacml.attr.AttributeRegistry attrReg, String policySet, DocumentBuilderFactory dbFactory, boolean checkSchema)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

checkXACMLSchema

public static void checkXACMLSchema(String policyString)
                             throws DocumentParseException,
                                    IOException
Throws:
DocumentParseException
IOException

read

public static com.bea.common.security.xacml.policy.AbstractPolicy read(com.bea.common.security.xacml.attr.AttributeRegistry attrReg,
                                                                       InputStream data,
                                                                       DocumentBuilderFactory dbFactory)
                                                                throws URISyntaxException,
                                                                       DocumentParseException,
                                                                       IOException
Throws:
URISyntaxException
DocumentParseException
IOException

read

public static com.bea.common.security.xacml.policy.AbstractPolicy read(com.bea.common.security.xacml.attr.AttributeRegistry attrReg,
                                                                       InputStream data,
                                                                       DocumentBuilderFactory dbFactory,
                                                                       boolean checkSchema)
                                                                throws URISyntaxException,
                                                                       DocumentParseException,
                                                                       IOException
Throws:
URISyntaxException
DocumentParseException
IOException

read

public static com.bea.common.security.xacml.policy.AbstractPolicy read(com.bea.common.security.xacml.attr.AttributeRegistry attrReg,
                                                                       String data,
                                                                       DocumentBuilderFactory dbFactory)
                                                                throws URISyntaxException,
                                                                       DocumentParseException,
                                                                       IOException
Throws:
URISyntaxException
DocumentParseException
IOException

read

public static com.bea.common.security.xacml.policy.AbstractPolicy read(com.bea.common.security.xacml.attr.AttributeRegistry attrReg,
                                                                       String data,
                                                                       DocumentBuilderFactory dbFactory,
                                                                       boolean checkSchema)
                                                                throws URISyntaxException,
                                                                       DocumentParseException,
                                                                       IOException
Throws:
URISyntaxException
DocumentParseException
IOException

readPolicy

public static com.bea.common.security.xacml.policy.Policy readPolicy(com.bea.common.security.xacml.attr.AttributeRegistry attrReg,
                                                                     InputStream policy,
                                                                     DocumentBuilderFactory dbFactory)
                                                              throws URISyntaxException,
                                                                     DocumentParseException,
                                                                     IOException
Throws:
URISyntaxException
DocumentParseException
IOException

readPolicy

public static com.bea.common.security.xacml.policy.Policy readPolicy(com.bea.common.security.xacml.attr.AttributeRegistry attrReg,
                                                                     InputStream policy,
                                                                     DocumentBuilderFactory dbFactory,
                                                                     boolean checkSchema)
                                                              throws URISyntaxException,
                                                                     DocumentParseException,
                                                                     IOException
Throws:
URISyntaxException
DocumentParseException
IOException

readPolicy

public static com.bea.common.security.xacml.policy.Policy readPolicy(com.bea.common.security.xacml.attr.AttributeRegistry attrReg,
                                                                     String policy,
                                                                     DocumentBuilderFactory dbFactory)
                                                              throws URISyntaxException,
                                                                     DocumentParseException,
                                                                     IOException
Throws:
URISyntaxException
DocumentParseException
IOException

readPolicy

public static com.bea.common.security.xacml.policy.Policy readPolicy(com.bea.common.security.xacml.attr.AttributeRegistry attrReg,
                                                                     String policy,
                                                                     DocumentBuilderFactory dbFactory,
                                                                     boolean checkSchema)
                                                              throws URISyntaxException,
                                                                     DocumentParseException,
                                                                     IOException
Throws:
URISyntaxException
DocumentParseException
IOException

readPolicySet

public static com.bea.common.security.xacml.policy.PolicySet readPolicySet(com.bea.common.security.xacml.attr.AttributeRegistry attrReg,
                                                                           InputStream policySet,
                                                                           DocumentBuilderFactory dbFactory)
                                                                    throws URISyntaxException,
                                                                           DocumentParseException
Throws:
URISyntaxException
DocumentParseException

readPolicySet

public static com.bea.common.security.xacml.policy.PolicySet readPolicySet(com.bea.common.security.xacml.attr.AttributeRegistry attrReg,
                                                                           InputStream policySet,
                                                                           DocumentBuilderFactory dbFactory,
                                                                           boolean checkSchema)
                                                                    throws URISyntaxException,
                                                                           DocumentParseException
Throws:
URISyntaxException
DocumentParseException

readPolicySet

public static com.bea.common.security.xacml.policy.PolicySet readPolicySet(com.bea.common.security.xacml.attr.AttributeRegistry attrReg,
                                                                           String policySet,
                                                                           DocumentBuilderFactory dbFactory)
                                                                    throws URISyntaxException,
                                                                           DocumentParseException
Throws:
URISyntaxException
DocumentParseException

readPolicySet

public static com.bea.common.security.xacml.policy.PolicySet readPolicySet(com.bea.common.security.xacml.attr.AttributeRegistry attrReg,
                                                                           String policySet,
                                                                           DocumentBuilderFactory dbFactory,
                                                                           boolean checkSchema)
                                                                    throws URISyntaxException,
                                                                           DocumentParseException
Throws:
URISyntaxException
DocumentParseException

Copyright 1996, 2011, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.

Oracle Fusion Middleware
Oracle WebLogic Server API Reference
11g Release 1 (10.3.6)

Part Number E13941-06