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

Incorrect permission class-name should throw exception at runtime

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 4.0.0.Alpha1
    • 3.0.0.Beta9
    • 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.

      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.

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

                Created:
                Updated:
                Resolved: