public class X509EntitlementCallbackHandler extends EntitlementCallbackHandler
Constructor and Description |
---|
X509EntitlementCallbackHandler() |
Modifier and Type | Method and 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:environment
|
String |
getUserName(org.apache.synapse.MessageContext synCtx)
Get the user name who should be authorized against defined Entitlement policies.
|
findAction, findOperationName, findServiceName
public String getUserName(org.apache.synapse.MessageContext synCtx)
EntitlementCallbackHandler
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_subjectgetUserName
in class EntitlementCallbackHandler
public org.wso2.carbon.identity.entitlement.proxy.Attribute[] findOtherAttributes(org.apache.synapse.MessageContext synCtx)
EntitlementCallbackHandler
findOtherAttributes
in class EntitlementCallbackHandler
Copyright © 2017 WSO2. All rights reserved.