Skip to content

Commit

Permalink
Ticket granting ticket expires calculated differently.
Browse files Browse the repository at this point in the history
  • Loading branch information
piotrczarnas committed Oct 23, 2024
1 parent 27b7018 commit bfa1da7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ public String getTicketGrantingTicket() {
synchronized (this.lock) {
Instant keyLatestExpiresAt = Instant.now().plus(15, ChronoUnit.MINUTES);
if (this.grantingTicketPayloadSignedObject == null ||
this.grantingTicketPayloadSignedObject.getTarget().getExpiresAt().isAfter(keyLatestExpiresAt)) {
this.grantingTicketPayloadSignedObject.getTarget().getExpiresAt().isBefore(keyLatestExpiresAt)) {
DqoUserPrincipal userPrincipalForAdministrator = this.principalProvider.createLocalInstanceAdminPrincipal();

UserDomainIdentity userIdentity = userPrincipalForAdministrator.getDataDomainIdentity();
Expand Down

0 comments on commit bfa1da7

Please sign in to comment.