Package com.sun.identity.xacml.spi
Interface EnvironmentMapper
-
- All Known Implementing Classes:
FMEnvironmentMapper
public interface EnvironmentMapperThis interface defines the SPI for pluggable implementations to map XACML context Environment to native environment
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidinitialize(String pdpEntityId, String pepEntityId, Map properties)Initializes the mapper implementation.MapmapToNativeEnvironment(Environment xacmlContextEnvironment, List xacmlContextSubjects)Returns native environment
-
-
-
Method Detail
-
initialize
void initialize(String pdpEntityId, String pepEntityId, Map properties) throws XACMLException
Initializes the mapper implementation. This would be called immediately after constructing an instance of the implementation.- Parameters:
pdpEntityId- EntityID of PDPpepEntityId- EntityID of PEPproperties- configuration properties- Throws:
XACMLException- if can not initialize
-
mapToNativeEnvironment
Map mapToNativeEnvironment(Environment xacmlContextEnvironment, List xacmlContextSubjects) throws XACMLException
Returns native environment- Parameters:
xacmlContextEnvironment- XACML context EnvironmentxacmlContextSubjects- XACML context Subject(s)- Returns:
- native environment map
- Throws:
XACMLException- if can not map to native environment
-
-