public class SimpleCASAuthorizationFilter extends Object implements Filter
Filter protects resources such that only specified usernames, as authenticated with CAS, can access.
edu.yale.its.tp.cas.client.filter.user
must be set before
this filter in the filter chain.
This filter takes the init-param
edu.yale.its.tp.cas.client.filter.authorizedUsers
, a
whitespace-delimited list of users authorized to pass through this
filter.
Modifier and Type | Field and Description |
---|---|
static String |
AUTHORIZED_USER_STRING |
static String |
FILTER_NAME |
Constructor and Description |
---|
SimpleCASAuthorizationFilter() |
Modifier and Type | Method and Description |
---|---|
void |
destroy() |
void |
doFilter(ServletRequest request,
ServletResponse response,
FilterChain fc) |
void |
init(FilterConfig config) |
public static final String AUTHORIZED_USER_STRING
public static final String FILTER_NAME
public void init(FilterConfig config) throws ServletException
init
in interface Filter
ServletException
public void doFilter(ServletRequest request, ServletResponse response, FilterChain fc) throws ServletException, IOException
doFilter
in interface Filter
ServletException
IOException
Copyright © 2013 Nuxeo SA. All Rights Reserved.