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
 Policy createPolicy(InputStream is)
          Create a policy
 Policy createPolicy(URL location)
          Create a Policy
 PolicySet createPolicySet(InputStream is, PolicyFinder finder)
          Create a policyset
 PolicySet createPolicySet(URL location, 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 PolicySet createPolicySet(URL location,
                                 PolicyFinder finder)
                          throws Exception
Create a PolicySet

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

createPolicySet

public PolicySet createPolicySet(InputStream is,
                                 PolicyFinder finder)
                          throws Exception
Create a policyset

Parameters:
is -
finder -
Returns:
Throws:
Exception

createPolicy

public Policy createPolicy(URL location)
                    throws Exception
Create a Policy

Parameters:
location - Policy File
Returns:
Throws:
Exception

createPolicy

public Policy createPolicy(InputStream is)
                    throws Exception
Create a policy

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


Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.