Uploaded image for project: 'Elytron Web'
  1. Elytron Web
  2. ELYWEB-133

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.

            darran.lofthouse@redhat.com Darran Lofthouse
            darran.lofthouse@redhat.com Darran Lofthouse
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: