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

java.lang.Object
  extended by org.fcrepo.server.security.xacml.util.AttributeFinderConfig.Designator
Enclosing class:
AttributeFinderConfig

public class AttributeFinderConfig.Designator
extends Object

Encapsulates a set of attributes for this designator (ie for XACML target corresponding to a target designator)

Version:
$Id$
Author:
Stephen Bayliss

Nested Class Summary
 class AttributeFinderConfig.Designator.Attribute
          Encapsulates an attribute together with name/value configuration items
 
Constructor Summary
protected AttributeFinderConfig.Designator()
           
 
Method Summary
 AttributeFinderConfig.Designator.Attribute get(String attributeName)
          Gets an attribute by name
 Set<String> getAttributeNames()
          Get all attribute names for this designator (XACML target)
 AttributeFinderConfig.Designator.Attribute put(String attributeName)
          Add/update an attribute for this target.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AttributeFinderConfig.Designator

protected AttributeFinderConfig.Designator()
Method Detail

get

public AttributeFinderConfig.Designator.Attribute get(String attributeName)
Gets an attribute by name

Parameters:
attributeName -
Returns:

getAttributeNames

public Set<String> getAttributeNames()
Get all attribute names for this designator (XACML target)

Returns:

put

public AttributeFinderConfig.Designator.Attribute put(String attributeName)
Add/update an attribute for this target. Note that the attribute will have no configuration (empty configuration is created). Returns the attribued added/updated

Parameters:
attributeName -
Returns:


Copyright © 2011 DuraSpace. All Rights Reserved.