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

mederly noreply at github.com
Fri Oct 11 09:36:10 UTC 2019


  Branch: refs/heads/support-3.7
  Home:   https://github.com/Evolveum/midpoint
  Commit: f713dbb744bb755ad4bcac1eaebab610ba7019e0
      https://github.com/Evolveum/midpoint/commit/f713dbb744bb755ad4bcac1eaebab610ba7019e0
  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: bfd4336cbd0cb74ece892699985f50af7aeb66a8
      https://github.com/Evolveum/midpoint/commit/bfd4336cbd0cb74ece892699985f50af7aeb66a8
  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/eb73b7fb9d9b...bfd4336cbd0c


More information about the midPoint-svn mailing list