Class X509EntitlementCallbackHandler
- java.lang.Object
-
- org.wso2.carbon.identity.entitlement.mediator.callback.EntitlementCallbackHandler
-
- org.wso2.carbon.identity.entitlement.mediator.callback.X509EntitlementCallbackHandler
-
public class X509EntitlementCallbackHandler extends EntitlementCallbackHandler
-
-
Constructor Summary
Constructors Constructor Description X509EntitlementCallbackHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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:environmentString
getUserName(org.apache.synapse.MessageContext synCtx)
Get the user name who should be authorized against defined Entitlement policies.-
Methods inherited from class org.wso2.carbon.identity.entitlement.mediator.callback.EntitlementCallbackHandler
findAction, findOperationName, findServiceName
-
-
-
-
Method Detail
-
getUserName
public String getUserName(org.apache.synapse.MessageContext synCtx)
Description copied from class:EntitlementCallbackHandler
Get the user name who should be authorized against defined Entitlement policies. The default implementation reads the subject name from theorg.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_subject- Overrides:
getUserName
in classEntitlementCallbackHandler
- Returns:
-
findOtherAttributes
public org.wso2.carbon.identity.entitlement.proxy.Attribute[] findOtherAttributes(org.apache.synapse.MessageContext synCtx)
Description copied from class:EntitlementCallbackHandler
Optional hook to supply additional attributes for any category including urn:oasis:names:tc:xacml:3.0:attribute-category:environment- Overrides:
findOtherAttributes
in classEntitlementCallbackHandler
- Returns:
-
-