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

mederly noreply at github.com
Fri Oct 11 09:22:59 UTC 2019


  Branch: refs/heads/support-3.8
  Home:   https://github.com/Evolveum/midpoint
  Commit: cd01b50a7eb2562c48fb920d455be5bd9c7f5fa0
      https://github.com/Evolveum/midpoint/commit/cd01b50a7eb2562c48fb920d455be5bd9c7f5fa0
  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: 49f838975211e2179b9f90b7f3feb86ef98bdf03
      https://github.com/Evolveum/midpoint/commit/49f838975211e2179b9f90b7f3feb86ef98bdf03
  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/8c3f57877d3f...49f838975211


More information about the midPoint-svn mailing list