Uploaded image for project: 'PicketBox '
  1. PicketBox
  2. SECURITY-288

Mapping Flexibility needed in the 5.0 schema

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Done
    • Icon: Major Major
    • 2.0.2.CR8
    • 2.0.2.CR7
    • Identity, JBossSX
    • None
    • Medium

      We need some mapping schema flexibility. My earlier attempt of directly doing a role-mapping element needs to be deprecated and we need something like the following:

      <application-policy name="test">
      <authentication/>
      <authorization/>
      <mapping>
      <type="principal">
      <mapping-module>....</mapping-module>
      </type>
      <type="identity">
      <mapping-module>....</mapping-module>
      </type>
      <type="rolemapping">
      <mapping-module>....</mapping-module>
      </type>
      </mapping>
      </application-policy>

      the element names in type (principal, identity, rolemapping) should just be arbitrary strings. Users should be able to add anything of their own.

      getMappingInfo(String mappingType) should return the MappingInfo.

            sguilhen Stefan Guilhen
            anil.saldhana Anil Saldanha (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: