CASC-182 - reset the redirectAfterValidation parameter to false when useSession is false.
This commit is contained in:
parent
d0ecca4274
commit
09ffc2c05d
|
|
@ -103,6 +103,13 @@ public abstract class AbstractTicketValidationFilter extends AbstractCasFilter {
|
|||
log.trace("Setting redirectAfterValidation parameter: " + this.redirectAfterValidation);
|
||||
setUseSession(parseBoolean(getPropertyFromInitParams(filterConfig, "useSession", "true")));
|
||||
log.trace("Setting useSession parameter: " + this.useSession);
|
||||
|
||||
if (!this.useSession && this.redirectAfterValidation) {
|
||||
log.warn("redirectAfterValidation parameter may not be true when useSession parameter is false.");
|
||||
setRedirectAfterValidation(false);
|
||||
log.warn("Setting redirectAfterValidation parameter to " + this.redirectAfterValidation);
|
||||
}
|
||||
|
||||
setTicketValidator(getTicketValidator(filterConfig));
|
||||
super.initInternal(filterConfig);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue