JBoss port of sunxacml 2.0.5-redhat-1

org.jboss.security.xacml.sunxacml.cond
Class MapFunctionProxy

java.lang.Object
  extended by org.jboss.security.xacml.sunxacml.cond.MapFunctionProxy
All Implemented Interfaces:
FunctionProxy

public class MapFunctionProxy
extends Object
implements FunctionProxy

A basic proxy class that supports map, the only standard abstract function. This is useful if you're configuring the PDP at runtime.

Since:
1.2
Author:
Seth Proctor

Constructor Summary
MapFunctionProxy()
          Default constructor.
 
Method Summary
 Function getInstance(Node root, String xpathVersion)
          Creates an instance of some abstract function.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MapFunctionProxy

public MapFunctionProxy()
Default constructor.

Method Detail

getInstance

public Function getInstance(Node root,
                            String xpathVersion)
                     throws Exception
Description copied from interface: FunctionProxy
Creates an instance of some abstract function. If the function being created is not using XPath, then the version parameter can be ignored, otherwise a value must be present and the version must be acceptable.

Specified by:
getInstance in interface FunctionProxy
Parameters:
root - the DOM root of the apply statement containing the function
xpathVersion - the version specified in the contianing policy, or null if no version was specified
Returns:
the function
Throws:
Exception - if the underlying code experienced any error

JBoss port of sunxacml 2.0.5-redhat-1

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