public abstract class EntitlementCallbackHandler extends Object
Constructor and Description |
---|
EntitlementCallbackHandler() |
Modifier and Type | Method and Description |
---|---|
String |
findAction(org.apache.synapse.MessageContext synCtx)
If the property xacml_action defined under axis2 scope been found - then the value of that
property will be picked as the action - if not the default action is "read".
|
String |
findOperationName(org.apache.synapse.MessageContext synCtx)
Get the name of the operation been invoked by the user.
|
org.wso2.carbon.identity.entitlement.proxy.Attribute[] |
findOtherAttributes(org.apache.synapse.MessageContext synCtx)
Optional hook to supply additional attributes for any category
including urn:oasis:names:tc:xacml:3.0:attribute-category:environment
|
String |
findServiceName(org.apache.synapse.MessageContext synCtx)
Get the name the service been invoked by the user.
|
String |
getUserName(org.apache.synapse.MessageContext synCtx)
Get the user name who should be authorized against defined Entitlement policies.
|
public String getUserName(org.apache.synapse.MessageContext synCtx)
org.apache.axis2.context.MessageContext
as a property. The name of this property
should be set as a property defined under axis2 scope with the name xacml_subject_identifier.
If the property xacml_subject_identifier not found, then the subject name would be read from
a property defined under axis2 scope with the name xacml_subjectsynCtx
- public String findOperationName(org.apache.synapse.MessageContext synCtx)
synCtx
- public String findServiceName(org.apache.synapse.MessageContext synCtx)
synCtx
- public String findAction(org.apache.synapse.MessageContext synCtx)
synCtx
- public org.wso2.carbon.identity.entitlement.proxy.Attribute[] findOtherAttributes(org.apache.synapse.MessageContext synCtx)
synCtx
- Copyright © 2021 WSO2. All rights reserved.