JAAS option module is NOT optional if the module cannot be loaded

XMLWordPrintable

    • Type: Bug
    • Resolution: Not an Issue
    • Priority: P4
    • 9
    • Affects Version/s: None
    • Component/s: security-libs
    • None

      A JAAS module can be set to optional (known as control flag) in a config file so that even it fails the whole login can succeed if another module succeeds. However, if the module cannot be loaded at all (ClassNotFoundException) or some methods are missing (NoSuchMethodException), the whole login process terminates intermediately regardless of the module control flag. This is counter-intuitive and could prevent flexible application deployment.

            Assignee:
            Weijun Wang
            Reporter:
            Weijun Wang
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: