Package com.sun.identity.xacml.plugins
Class FMResultMapper
- java.lang.Object
-
- com.sun.identity.xacml.plugins.FMResultMapper
-
- All Implemented Interfaces:
ResultMapper
public class FMResultMapper extends Object implements ResultMapper
This class implements ResultMapper to map between and native resource result and XACML context result
-
-
Constructor Summary
Constructors Constructor Description FMResultMapper()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidinitialize(String pdpEntityId, String pepEntityId, Map properties)Initializes the mapper implementation.ResultmapToXACMLResult(Object nativeResult, String nativeServiceName, ResourceMapper resourceMapper, ActionMapper actionMapper)Mapscom.sun.identity.policy.ResourceResultto XACML context Result
-
-
-
Method Detail
-
initialize
public 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.- Specified by:
initializein interfaceResultMapper- Parameters:
pdpEntityId- EntityID of PDPpepEntityId- EntityID of PEPproperties- configuration properties- Throws:
XACMLException- if can not initialize
-
mapToXACMLResult
public Result mapToXACMLResult(Object nativeResult, String nativeServiceName, ResourceMapper resourceMapper, ActionMapper actionMapper) throws XACMLException
Mapscom.sun.identity.policy.ResourceResultto XACML context Result- Specified by:
mapToXACMLResultin interfaceResultMapper- Parameters:
nativeResult- native resource resultnativeServiceName- native service nameresourceMapper- resource mapper to map to XACML ResourceactionMapper- action mapper to map to XACML Action- Returns:
- XACML context Result
- Throws:
XACMLException- if can not map to XACML context Result
-
-