org.fcrepo.server.security
Class AttributeFinderModule

java.lang.Object
  extended by com.sun.xacml.finder.AttributeFinderModule
      extended by org.fcrepo.server.security.AttributeFinderModule

public abstract class AttributeFinderModule
extends com.sun.xacml.finder.AttributeFinderModule

Author:
Bill Niebel

Field Summary
protected  HashSet attributesDenied
           
protected  URI STRING_ATTRIBUTE_URI
           
 
Constructor Summary
protected AttributeFinderModule()
           
 
Method Summary
protected abstract  boolean canHandleAdhoc()
           
 com.sun.xacml.cond.EvaluationResult findAttribute(URI attributeType, URI attributeId, URI issuer, URI category, com.sun.xacml.EvaluationCtx context, int designatorType)
           
protected  Object getAttributeFromEvaluationResult(com.sun.xacml.cond.EvaluationResult attribute)
           
protected  URI getAttributeIdUri(String id)
           
protected abstract  Object getAttributeLocally(int designatorType, String attributeId, URI resourceCategory, com.sun.xacml.EvaluationCtx context)
           
protected  String getAttributeType(String id)
           
protected  URI getAttributeTypeUri(String id)
           
 Set getSupportedDesignatorTypes()
           
protected  boolean hasAttribute(String id)
           
protected  String iAm()
           
 boolean isDesignatorSupported()
           
protected  void registerAttribute(String id, String type)
           
protected  void registerSupportedDesignatorType(int designatorType)
           
 void setInstantiatedOk(boolean value)
           
 
Methods inherited from class com.sun.xacml.finder.AttributeFinderModule
findAttribute, getIdentifier, getSupportedIds, invalidateCache, isSelectorSupported
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

attributesDenied

protected final HashSet attributesDenied

STRING_ATTRIBUTE_URI

protected final URI STRING_ATTRIBUTE_URI
Constructor Detail

AttributeFinderModule

protected AttributeFinderModule()
Method Detail

setInstantiatedOk

public final void setInstantiatedOk(boolean value)

isDesignatorSupported

public boolean isDesignatorSupported()
Overrides:
isDesignatorSupported in class com.sun.xacml.finder.AttributeFinderModule

iAm

protected String iAm()

getAttributeFromEvaluationResult

protected final Object getAttributeFromEvaluationResult(com.sun.xacml.cond.EvaluationResult attribute)

registerAttribute

protected final void registerAttribute(String id,
                                       String type)
                                throws URISyntaxException
Throws:
URISyntaxException

getAttributeIdUri

protected final URI getAttributeIdUri(String id)

hasAttribute

protected final boolean hasAttribute(String id)

getAttributeType

protected final String getAttributeType(String id)

getAttributeTypeUri

protected final URI getAttributeTypeUri(String id)

registerSupportedDesignatorType

protected final void registerSupportedDesignatorType(int designatorType)

getSupportedDesignatorTypes

public Set getSupportedDesignatorTypes()
Overrides:
getSupportedDesignatorTypes in class com.sun.xacml.finder.AttributeFinderModule

canHandleAdhoc

protected abstract boolean canHandleAdhoc()

findAttribute

public com.sun.xacml.cond.EvaluationResult findAttribute(URI attributeType,
                                                         URI attributeId,
                                                         URI issuer,
                                                         URI category,
                                                         com.sun.xacml.EvaluationCtx context,
                                                         int designatorType)
Overrides:
findAttribute in class com.sun.xacml.finder.AttributeFinderModule

getAttributeLocally

protected abstract Object getAttributeLocally(int designatorType,
                                              String attributeId,
                                              URI resourceCategory,
                                              com.sun.xacml.EvaluationCtx context)


Copyright © 2012 DuraSpace. All Rights Reserved.