Class X509EntitlementCallbackHandler

    • Constructor Detail

      • X509EntitlementCallbackHandler

        public X509EntitlementCallbackHandler()
    • 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 the 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_subject
        Overrides:
        getUserName in class EntitlementCallbackHandler
        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 class EntitlementCallbackHandler
        Returns: