Uploaded image for project: 'OpenAM'
  1. OpenAM
  2. OPENAM-1968

Export of XACML policy contains generic Object.toString() output

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Cannot Reproduce
    • Affects Version/s: 10.0.0, 10.0.1, 10.1.0-Xpress
    • Fix Version/s: None
    • Component/s: policy
    • Labels:
    • Rank:
      1|hzlz8n:

      Description

      I've created a simple policy in OpenAM that checks to see if the user is authenticated in a specific realm. When using "list-xacml" to view this policy in XACML format, the <Condition> contains output like "om.sun.identity.entitlement.opensso.PolicySubject@4d98defc" rather than an actual serialized value of the object.

      For example:

      <Condition>
      <Apply FunctionId="urn:sun:opensso:entitlement:json-subject-and-condiiton-satisfied">
      <AttributeValue DataType="urn:sun:opensso:entitlement:json-subject-type:com.sun.identity.entitlement.opensso.PolicySubject" privilegeComponent="entitlementSubject">com.sun.identity.entitlement.opensso.PolicySubject@4d98defc</AttributeValue>
      <AttributeValue DataType="urn:sun:opensso:entitlement:json-condition-type:com.sun.identity.entitlement.opensso.PolicyCondition" privilegeComponent="entitlementCondition">com.sun.identity.entitlement.opensso.PolicyCondition@0</AttributeValue>
      </Apply>
      </Condition>

        Attachments

          Activity

            People

            • Assignee:
              peter.major Peter Major [X] (Inactive)
              Reporter:
              craigforster craigforster [X] (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: