/** * Constructs a new TicketValidator with the casServerUrlPrefix. * * @param casServerUrlPrefix the location of the CAS server. */ protected AbstractUrlBasedTicketValidator(final String casServerUrlPrefix) { CommonUtils.assertNotNull(casServerUrlPrefix, "casServerUrlPrefix cannot be null."); this.casServerUrlPrefix = CommonUtils.addTrailingSlash(casServerUrlPrefix); }
public final void setCasServerUrlPrefix(final String casServerUrlPrefix) { setCasServerLoginUrl(CommonUtils.addTrailingSlash(casServerUrlPrefix) + "login"); }