public class FMActionMapper extends Object implements ActionMapper
attributeId
urn:oasis:names:tc:xacml:1.0:action:action-idThis attribute would be mapped to an action name in OpenAM Policy. This mapper requires that the dataType of the attribute is
http://www.w3.org/2001/XMLSchema#string
Constructor and Description |
---|
FMActionMapper() |
Modifier and Type | Method and Description |
---|---|
void |
initialize(String pdpEntityId,
String pepEntityId,
Map properties)
Initializes the mapper implementation.
|
String |
mapToNativeAction(Action xacmlContextAction,
String serviceName)
Returns native action name
|
Action |
mapToXACMLAction(String nativeActionName,
String serviceName)
Returns XACML context Action
|
String |
mapToXACMLActionEffect(String nativeActionEffect,
String serviceName)
Returns XACML context decision effect
|
public void initialize(String pdpEntityId, String pepEntityId, Map properties) throws XACMLException
initialize
in interface ActionMapper
pdpEntityId
- EntityID of PDPpepEntityId
- EntityID of PEPproperties
- configuration propertiesXACMLException
- if can not initializepublic String mapToNativeAction(Action xacmlContextAction, String serviceName) throws XACMLException
mapToNativeAction
in interface ActionMapper
xacmlContextAction
- XACML context ActionserviceName
- native service name the requested resource belongs toXACMLException
- if can not map to native action namepublic Action mapToXACMLAction(String nativeActionName, String serviceName) throws XACMLException
mapToXACMLAction
in interface ActionMapper
nativeActionName
- native action nameserviceName
- native service name the requested resource belongs toXACMLException
- if can not map to XACML context Actionpublic String mapToXACMLActionEffect(String nativeActionEffect, String serviceName) throws XACMLException
mapToXACMLActionEffect
in interface ActionMapper
nativeActionEffect
- native action effectserviceName
- native service name the requested resource belongs toXACMLException
- if can not map to XACML context ActionCopyright © 2010–2025 Open Identity Platform Community. All rights reserved.