[midPoint-git] [Evolveum/midpoint] 5722a0: Fix HTTP error codes related to SecQ authn

mederly noreply at github.com
Fri Oct 11 08:49:32 UTC 2019


  Branch: refs/heads/support-3.9
  Home:   https://github.com/Evolveum/midpoint
  Commit: 5722a0942a2600aab50608e39b424b7fa5d82c30
      https://github.com/Evolveum/midpoint/commit/5722a0942a2600aab50608e39b424b7fa5d82c30
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2019-10-11 (Fri, 11 Oct 2019)

  Changed paths:
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/security/MidpointRestAuthenticator.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/security/MidpointRestSecurityQuestionsAuthenticator.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/util/RestServiceUtil.java
    M testing/rest/src/test/java/com/evolveum/midpoint/testing/rest/TestAbstractRestService.java

  Log Message:
  -----------
  Fix HTTP error codes related to SecQ authn

Now midPoint returns 401 consistently when the authentication fails
(see MID-5725).


  Commit: 60fecbd6ae9aaffe510461b00e01701c9dcefb7b
      https://github.com/Evolveum/midpoint/commit/60fecbd6ae9aaffe510461b00e01701c9dcefb7b
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2019-10-11 (Fri, 11 Oct 2019)

  Changed paths:
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/security/MidpointRestAuthenticator.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/security/MidpointRestSecurityQuestionsAuthenticator.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/util/RestServiceUtil.java

  Log Message:
  -----------
  Fix the WWW-Authenticate header generation

This is dealing with the fault introduced while fixing MID-5725.
Now we consistently provide "WWW-Authenticate" with the values of
"Basic" and "SecQ".


Compare: https://github.com/Evolveum/midpoint/compare/fbc83d2e005a...60fecbd6ae9a


More information about the midPoint-svn mailing list