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

Wrong credentials do not lead to error message in log

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Done
    • Icon: L3 - Default L3 - Default
    • 2.5.0-alpha1, 2.5.0
    • None
    • backend
    • None

      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.

        This is the controller panel for Smart Panels app

              Unassigned Unassigned
              felix.mueller Felix Mueller
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: