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

SecurityContextImpl.login incorrectly assumes authenticate would be called first.

    XMLWordPrintable

Details

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: