CASC-160
added a check to make sure we really wanted to gateway.
This commit is contained in:
parent
5cd43c2139
commit
84aa06629f
|
|
@ -110,7 +110,7 @@ public class AuthenticationFilter extends AbstractCasFilter {
|
|||
|
||||
final String serviceUrl = constructServiceUrl(request, response);
|
||||
final String ticket = retrieveTicketFromRequest(request);
|
||||
final boolean wasGatewayed = this.gatewayStorage.hasGatewayedAlready(request, serviceUrl);
|
||||
final boolean wasGatewayed = this.gateway && this.gatewayStorage.hasGatewayedAlready(request, serviceUrl);
|
||||
|
||||
if (CommonUtils.isNotBlank(ticket) || wasGatewayed) {
|
||||
filterChain.doFilter(request, response);
|
||||
|
|
|
|||
Loading…
Reference in New Issue