Uploaded image for project: 'Camunda Optimize'
  1. Camunda Optimize
  2. OPT-2037

Wrong credentials do not lead to error message in log

    XMLWordPrintable

    Details

    • Type: Feature Request
    • Status: Done
    • Priority: L3 - Default
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 2.5.0, 2.5.0-alpha1
    • Component/s: backend
    • Labels:
      None

      Description

      When trying to login with a user that does not exist in Optimize, the following error message is in the log:

      16:20:42.856 [qtp1928931046-12] ERROR o.c.o.s.s.AuthenticationService - Could not log you in.
      Error messages from engines:
      camunda-bpm: The provided credentials are invalid. Please check your username and password.
      
      16:20:42.859 [qtp1928931046-12] ERROR o.c.o.r.p.GenericExceptionMapper - Mapping generic REST error
      javax.ws.rs.NotAuthorizedException: Could not log you in.
      Error messages from engines:
      camunda-bpm: The provided credentials are invalid. Please check your username and password.
      
      	at org.camunda.optimize.service.security.AuthenticationService.authenticateUser(AuthenticationService.java:78)
      	at org.camunda.optimize.rest.AuthenticationRestService.authenticateUser(AuthenticationRestService.java:56)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:498)
      Collapse
      

      From operational perspective a login with bad credentials should probably not lead to an ERROR in the log per default, but rather WARN or INFO.

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            felix.mueller Felix Müller
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: