Uploaded image for project: 'WildFly Core'
  1. WildFly Core
  2. WFCORE-2565

Incorrect permission class-name should throw exception at runtime

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved (View Workflow)
    • Major
    • Resolution: Done
    • 3.0.0.Beta9
    • 4.0.0.Alpha1
    • Security
    • None
    • Hide

      Add non-existent permission into default-permission-mapper:

      /subsystem=elytron/constant-permission-mapper=default-permission-mapper:write-attribute(name=permissions[4],value={class-name=WrongName})
      

      and use this mapper at runtime. No exception is thrown.

      Show
      Add non-existent permission into default-permission-mapper: /subsystem=elytron/constant-permission-mapper= default -permission-mapper:write-attribute(name=permissions[4],value={ class- name=WrongName}) and use this mapper at runtime. No exception is thrown.

    Description

      In case when some permission mapper (tried with constant-permission-mapper and simple-permission-mapper) includes permission with non-existent class-name then it seems that no exception is thrown during runtime.

      Attachments

        Issue Links

          Activity

            People

              rhn-support-ivassile Ilia Vassilev
              olukas Ondrej Lukas (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: