public class CASAuthenticationValve
extends org.apache.catalina.valves.ValveBase
| Modifier and Type | Field and Description |
|---|---|
static String |
AUTHORIZED_PROXY_INIT_PARAM
The name of the filter initialization parameter the value of which must be
a whitespace delimited list of services (ProxyTicketReceptors) authorized
to proxy authentication to the service filtered by this Filter.
|
static String |
CAS_FILTER_RECEIPT
Session attribute in which the CASReceipt is stored.
|
static String |
CAS_FILTER_USER
Session attribute in which the username is stored.
|
static String |
GATEWAY_INIT_PARAM
The name of the filter initialization parameter the value of which is the
value the Filter should send for the gateway parameter on the CAS login
request.
|
static String |
LOGIN_INIT_PARAM
The name of the filter initialization parameter the value of which should
be the https: address of the CAS Login servlet.
|
static String |
PROXY_CALLBACK_INIT_PARAM
The name of the filter initialization parameter the value of which must be
the https: URL to which CAS should send Proxy Granting Tickets when this
filter validates tickets.
|
static String |
RENEW_INIT_PARAM
The name of the filter initialization parameter the value of which must be
the String that should be sent as the "renew" parameter on the request for
login and validation.
|
static String |
SERVERNAME_INIT_PARAM
The name of the filter initialization parameter the vlaue of which must be
the server name, e.g. www.yale.edu , of the service this filter is
filtering.
|
static String |
SERVICE_INIT_PARAM
The name of the filter initialization parameter the value of which must be
the address of the service this filter is filtering.
|
static String |
VALIDATE_INIT_PARAM
The name of the filter initialization parameter the value of which must be
the https: address of the CAS Validate servlet.
|
static String |
VIRTUAL_HOST_REQUEST_HEADER
request header defined on a web server in front of the portal
|
static String |
WRAP_REQUESTS_INIT_PARAM
The name of the filter initialization parameter the value of which
indicates whether this filter should wrap requests to expose the
authenticated username.
|
| Constructor and Description |
|---|
CASAuthenticationValve() |
| Modifier and Type | Method and Description |
|---|---|
String |
getAuthType() |
String |
getCasLogin() |
String |
getCasLogout() |
String |
getCasServerName() |
String |
getCasServiceUrl() |
String |
getCasValidate() |
Set |
getSecuredUrlPatterns() |
void |
invoke(org.apache.catalina.connector.Request request,
org.apache.catalina.connector.Response response) |
void |
setAuthType(String authType) |
void |
setCasLogin(String casLogin) |
void |
setCasLogout(String casLogout) |
void |
setCasServerName(String casServerName) |
void |
setCasServiceUrl(String casServiceUrl) |
void |
setCasValidate(String casValidate) |
backgroundProcess, createObjectName, event, getContainer, getContainerName, getController, getDomain, getInfo, getNext, getObjectName, getParentName, postDeregister, postRegister, preDeregister, preRegister, setContainer, setController, setNext, setObjectName, toStringpublic static final String VIRTUAL_HOST_REQUEST_HEADER
public static final String LOGIN_INIT_PARAM
public static final String VALIDATE_INIT_PARAM
public static final String SERVICE_INIT_PARAM
public static final String SERVERNAME_INIT_PARAM
public static final String RENEW_INIT_PARAM
public static final String AUTHORIZED_PROXY_INIT_PARAM
public static final String PROXY_CALLBACK_INIT_PARAM
public static final String WRAP_REQUESTS_INIT_PARAM
public static final String GATEWAY_INIT_PARAM
public static final String CAS_FILTER_USER
Session attribute in which the username is stored.
public static final String CAS_FILTER_RECEIPT
public String getCasLogin()
public void setCasLogin(String casLogin)
casLogin - public String getCasLogout()
public void setCasLogout(String casLogout)
casLogout - public String getCasServerName()
public void setCasServerName(String casServerName)
casServerName - public String getCasValidate()
public void setCasValidate(String casValidate)
casValidate - public String getAuthType()
public void setAuthType(String authType)
authType - public String getCasServiceUrl()
public void setCasServiceUrl(String casServiceUrl)
casServiceUrl - public void invoke(org.apache.catalina.connector.Request request,
org.apache.catalina.connector.Response response)
throws IOException,
javax.servlet.ServletException
invoke in interface org.apache.catalina.Valveinvoke in class org.apache.catalina.valves.ValveBaseIOExceptionjavax.servlet.ServletExceptionpublic Set getSecuredUrlPatterns()
Copyright © 2015. All rights reserved.