|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.springframework.web.filter.GenericFilterBean
org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter
org.jasig.schedassist.web.security.RemoteUserAuthenticationProcessingFilterImpl
public class RemoteUserAuthenticationProcessingFilterImpl
AbstractAuthenticationProcessingFilter implemented to inspect the REMOTE_USER environment
variable as the source for authentication.
This was developed against Pubcookie.
You need to add pubcookie protection around the url:
web application context + "/security_check"
Where web application context is the location of your app ("/sched-assist" by default).
| Field Summary | |
|---|---|
protected static String |
DEFAULT_FILTER_PROCESSES_URL
|
| Fields inherited from class org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter |
|---|
authenticationDetailsSource, eventPublisher, messages, SPRING_SECURITY_LAST_EXCEPTION_KEY |
| Fields inherited from class org.springframework.web.filter.GenericFilterBean |
|---|
logger |
| Constructor Summary | |
|---|---|
protected |
RemoteUserAuthenticationProcessingFilterImpl()
|
protected |
RemoteUserAuthenticationProcessingFilterImpl(String defaultFilterProcessesUrl)
|
| Method Summary | |
|---|---|
org.springframework.security.core.Authentication |
attemptAuthentication(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
|
int |
getOrder()
|
| Methods inherited from class org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter |
|---|
afterPropertiesSet, doFilter, getAllowSessionCreation, getAuthenticationDetailsSource, getAuthenticationManager, getFilterProcessesUrl, getRememberMeServices, requiresAuthentication, setAllowSessionCreation, setApplicationEventPublisher, setAuthenticationDetailsSource, setAuthenticationFailureHandler, setAuthenticationManager, setAuthenticationSuccessHandler, setContinueChainBeforeSuccessfulAuthentication, setFilterProcessesUrl, setMessageSource, setRememberMeServices, setSessionAuthenticationStrategy, successfulAuthentication, unsuccessfulAuthentication |
| Methods inherited from class org.springframework.web.filter.GenericFilterBean |
|---|
addRequiredProperty, destroy, getFilterConfig, getFilterName, getServletContext, init, initBeanWrapper, initFilterBean, setBeanName, setServletContext |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static final String DEFAULT_FILTER_PROCESSES_URL
| Constructor Detail |
|---|
protected RemoteUserAuthenticationProcessingFilterImpl()
protected RemoteUserAuthenticationProcessingFilterImpl(String defaultFilterProcessesUrl)
| Method Detail |
|---|
public org.springframework.security.core.Authentication attemptAuthentication(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws org.springframework.security.core.AuthenticationException
attemptAuthentication in class org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilterorg.springframework.security.core.AuthenticationExceptionpublic int getOrder()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||