CAS-219: Provide support for certain urls to be excluded from CAS filters.
This commit is contained in:
parent
c857e4610b
commit
44d1413fa7
|
|
@ -185,8 +185,6 @@ public abstract class AbstractCasFilter extends AbstractConfigurationFilter {
|
|||
final String requestUri = urlBuffer.toString();
|
||||
logger.debug("Checking [{}] against pattern [{}]", requestUri, this.ignorePattern.pattern());
|
||||
result = this.ignorePattern.matcher(requestUri).find();
|
||||
} else {
|
||||
logger.debug("Ignore pattern is not defined");
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -21,15 +21,9 @@ package org.jasig.cas.client.validation;
|
|||
import static org.junit.Assert.assertEquals;
|
||||
import static org.junit.Assert.fail;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.io.UnsupportedEncodingException;
|
||||
import java.util.Date;
|
||||
|
||||
import javax.servlet.FilterChain;
|
||||
import javax.servlet.ServletException;
|
||||
import javax.servlet.ServletRequest;
|
||||
import javax.servlet.ServletResponse;
|
||||
|
||||
import org.jasig.cas.client.PublicTestHttpServer;
|
||||
import org.jasig.cas.client.util.CommonUtils;
|
||||
import org.joda.time.DateTime;
|
||||
|
|
@ -38,11 +32,6 @@ import org.joda.time.Interval;
|
|||
import org.junit.Before;
|
||||
import org.junit.Ignore;
|
||||
import org.junit.Test;
|
||||
import org.springframework.mock.web.MockFilterConfig;
|
||||
import org.springframework.mock.web.MockHttpServletRequest;
|
||||
import org.springframework.mock.web.MockHttpServletResponse;
|
||||
import org.springframework.mock.web.MockHttpSession;
|
||||
import org.springframework.mock.web.MockServletContext;
|
||||
|
||||
/**
|
||||
* @author Scott Battaglia
|
||||
|
|
|
|||
Loading…
Reference in New Issue