org.fcrepo.server.security.xacml.util
Class AttributeFinderConfig

java.lang.Object
  extended by org.fcrepo.server.security.xacml.util.AttributeFinderConfig

public class AttributeFinderConfig
extends Object

Configuration for an attribute finder. Encapsulates a set of designators (corresponding to XACML policy targets), each of which encapsulates a set of XACML attribute IDs and configurations

Version:
$Id$
Author:
Stephen Bayliss

Constructor Summary
AttributeFinderConfig()
           
 
Method Summary
 Designator get(int designator)
          Get a Designator based on the Sun XACML designator ID
 Designator get(String designatorName)
          Get a Designator based on the XACML target name (in lower case)
 Set<Integer> getDesignatorIds()
          Gets the designator IDs that have been configured
 Designator put(String designatorName)
          Add or update a Designator.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AttributeFinderConfig

public AttributeFinderConfig()
Method Detail

get

public Designator get(int designator)
Get a Designator based on the Sun XACML designator ID

Parameters:
designator -
Returns:

get

public Designator get(String designatorName)
Get a Designator based on the XACML target name (in lower case)

Parameters:
designatorName -
Returns:

getDesignatorIds

public Set<Integer> getDesignatorIds()
Gets the designator IDs that have been configured

Returns:

put

public Designator put(String designatorName)
               throws AttributeFinderException
Add or update a Designator. The added/updated designator will have no attributes. Returns the added/updated designator

Parameters:
designatorName -
Returns:
Throws:
AttributeFinderException


Copyright © 2012 DuraSpace. All Rights Reserved.