org.jboss.security.xacml.util
Class XACMLPolicyUtil

java.lang.Object
  extended by org.jboss.security.xacml.util.XACMLPolicyUtil

public class XACMLPolicyUtil
extends Object

Create an XACML Policy Object from the url for the policy xml

Since:
Jul 6, 2007
Version:
$Revision$
Author:
Anil.Saldhana@redhat.com

Constructor Summary
XACMLPolicyUtil()
           
 
Method Summary
 org.jboss.security.xacml.sunxacml.Policy createPolicy(InputStream is)
          Create a policy
 org.jboss.security.xacml.sunxacml.Policy createPolicy(URL location)
          Create a Policy
 org.jboss.security.xacml.sunxacml.PolicySet createPolicySet(InputStream is, org.jboss.security.xacml.sunxacml.finder.PolicyFinder finder)
          Create a policyset
 org.jboss.security.xacml.sunxacml.PolicySet createPolicySet(URL location, org.jboss.security.xacml.sunxacml.finder.PolicyFinder finder)
          Create a PolicySet
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XACMLPolicyUtil

public XACMLPolicyUtil()
Method Detail

createPolicySet

public org.jboss.security.xacml.sunxacml.PolicySet createPolicySet(URL location,
                                                                   org.jboss.security.xacml.sunxacml.finder.PolicyFinder finder)
                                                            throws Exception
Create a PolicySet

Parameters:
location - location of the policy set file
finder - PolicyFinder instance
Returns:
Throws:
Exception

createPolicySet

public org.jboss.security.xacml.sunxacml.PolicySet createPolicySet(InputStream is,
                                                                   org.jboss.security.xacml.sunxacml.finder.PolicyFinder finder)
                                                            throws Exception
Create a policyset

Parameters:
is -
finder -
Returns:
Throws:
Exception

createPolicy

public org.jboss.security.xacml.sunxacml.Policy createPolicy(URL location)
                                                      throws Exception
Create a Policy

Parameters:
location - Policy File
Returns:
Throws:
Exception

createPolicy

public org.jboss.security.xacml.sunxacml.Policy createPolicy(InputStream is)
                                                      throws Exception
Create a policy

Parameters:
is - Inputstream of the policy file
Returns:
Throws:
Exception


Copyright © 2008 JBoss Inc.. All Rights Reserved.