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

[GSS](7.4.z) ELYWEB-113 - SecurityContextImpl.login incorrectly assumes authenticate would be called first.

XMLWordPrintable

      The login method assumes the httpAuthenticator will have already been set:

          @Override
          public boolean login(String username, String password) {
              if (httpAuthenticator == null) {
                  log.trace("No HttpAuthenticator available for authentication.");
                  return false;
              }
      

      Instead we should adjust the code so the HttpAuthenticator will be created on demand for whichever method needs it first.

              rhn-engineering-lgao Lin Gao
              rhn-engineering-lgao Lin Gao
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: