Skip to content

Commit

Permalink
Add comment explaining why we are doing this
Browse files Browse the repository at this point in the history
Signed-off-by: Derek Ho <dxho@amazon.com>
  • Loading branch information
derek-ho committed Sep 30, 2024
1 parent bb16f01 commit dab5d05
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -304,6 +304,7 @@ public boolean authenticate(final SecurityRequestChannel request) {
if (authDomain.isChallenge()) {
final Optional<SecurityResponse> restResponse = httpAuthenticator.reRequestAuthentication(request, null);
if (restResponse.isPresent()) {
// saml will always hit this to re-request authentication
if (!authDomain.getHttpAuthenticator().getType().equals(SAML_TYPE)) {
auditLog.logFailedLogin("<NONE>", false, null, request);
}
Expand Down

0 comments on commit dab5d05

Please sign in to comment.