org.openliberty.openaz.pep
Class AzWrapperRequestObjectFactory<T extends java.lang.Enum<T>>

java.lang.Object
  extended by org.openliberty.openaz.pep.AzWrapperRequestObjectFactory<T>
Direct Known Subclasses:
ActionFactory, EnvironmentFactory, ResourceFactory, SubjectFactory

public abstract class AzWrapperRequestObjectFactory<T extends java.lang.Enum<T>>
extends java.lang.Object


Constructor Summary
AzWrapperRequestObjectFactory()
           
 
Method Summary
abstract  AzWrapperRequestObject<T> createObject(PepRequest ctx)
           
 java.util.List<JavaObjectMapper> getMappers()
           
 java.util.Set<java.lang.Class> getSupportedClasses()
          Returns a Set of all the classes that are supported by the Mapper that implements this interface.
 void setMappers(java.util.List<JavaObjectMapper> mappers)
          Set the mappers that will be used by each category: Subject, Action, Resource, Environment.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AzWrapperRequestObjectFactory

public AzWrapperRequestObjectFactory()
Method Detail

createObject

public abstract AzWrapperRequestObject<T> createObject(PepRequest ctx)

setMappers

public void setMappers(java.util.List<JavaObjectMapper> mappers)
Set the mappers that will be used by each category: Subject, Action, Resource, Environment. The list of mappers for each category defines the objects that may be submitted for that category and how the information in those objects get mapped to xacml AttributeId and AttributeValue.

Parameters:
mappers -

getMappers

public java.util.List<JavaObjectMapper> getMappers()

getSupportedClasses

public java.util.Set<java.lang.Class> getSupportedClasses()
Returns a Set of all the classes that are supported by the Mapper that implements this interface.

Returns:
a set of class objects