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

JASPIAuthenticationInfo must override merge in order to merge the login-module stacks

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 2.0.2.CR7
    • 2.0.2.CR6
    • AS-Integration
    • None

    Description

      JASPIAuthenticationInfo currently inherits the merge method from BaseSecurityInfo. As a result, the login-module-stacks are lost during the merge process because the inherited merge implementation creates a new instance of JASPIAuthenticationInfo that contains only the merged auth-modules. To avoid this we must override the merge method in JASPIAuthenticationInfo to make sure the login-module-stacks are also merged in the final object.

      Also, the ApplicationPolicy should not allow the merge of authentication and authentication-jaspi methods, as only one of the configurations is allowed per policy. This means that a verification is needed in order to make sure that a policy doesn't extend a parent policy that specifies a different type of authentication.

      Attachments

        Activity

          People

            sguilhen Stefan Guilhen
            sguilhen Stefan Guilhen
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: