Skip to content

Commit

Permalink
jacekkow#129 Client session note service ticket fix
Browse files Browse the repository at this point in the history
  • Loading branch information
malinowskij committed Oct 30, 2024
1 parent 9728128 commit f2c1d5b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ protected void checkTicket(String ticket, String prefix, boolean requireReauth)
throw new CASValidationException(CASErrorCode.INVALID_TICKET, "Code is expired", Response.Status.BAD_REQUEST);
}

clientSession.setNote(prefix, ticket);
clientSession.setNote(CASLoginProtocol.SESSION_SERVICE_TICKET, ticket);

if (requireReauth && AuthenticationManager.isSSOAuthentication(clientSession)) {
event.error(Errors.SESSION_EXPIRED);
Expand Down

0 comments on commit f2c1d5b

Please sign in to comment.