Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-9726

Incorrect permission class-name should throw exception at runtime

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Major Major
    • None
    • 7.1.0.DR14
    • Security
    • 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:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: