org.openliberty.openaz.pep
Class AzWrapperRequestObjectFactory<T extends java.lang.Enum<T>>
java.lang.Object
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
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AzWrapperRequestObjectFactory
public AzWrapperRequestObjectFactory()
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