|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jasig.cas.client.util.AbstractConfigurationFilter
org.jasig.cas.client.util.AbstractCasFilter
public abstract class AbstractCasFilter
Abstract filter that contains code that is common to all CAS filters.
The following filter options can be configured (either at the context-level or filter-level).
serverName - the name of the CAS client server, in the format: localhost:8080 or localhost:8443 or localhost or https://localhost:8443service - the completely qualified service url, i.e. https://localhost/cas-client/appPlease note that one of the two above parameters must be set.
| Field Summary | |
|---|---|
static java.lang.String |
CONST_CAS_ASSERTION
Represents the constant for where the assertion will be located in memory. |
protected org.apache.commons.logging.Log |
log
Instance of commons logging for logging purposes. |
| Constructor Summary | |
|---|---|
AbstractCasFilter()
|
|
| Method Summary | |
|---|---|
protected java.lang.String |
constructServiceUrl(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
|
void |
destroy()
|
java.lang.String |
getArtifactParameterName()
|
java.lang.String |
getServiceParameterName()
|
void |
init()
Initialization method. |
void |
init(javax.servlet.FilterConfig filterConfig)
|
protected void |
initInternal(javax.servlet.FilterConfig filterConfig)
Controls the ordering of filter initialization and checking by defining a method that runs before the init. |
void |
setArtifactParameterName(java.lang.String artifactParameterName)
|
void |
setEncodeServiceUrl(boolean encodeServiceUrl)
|
void |
setServerName(java.lang.String serverName)
|
void |
setService(java.lang.String service)
|
void |
setServiceParameterName(java.lang.String serviceParameterName)
|
| Methods inherited from class org.jasig.cas.client.util.AbstractConfigurationFilter |
|---|
getPropertyFromInitParams, isIgnoreInitConfiguration, loadFromContext, parseBoolean, setIgnoreInitConfiguration |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface javax.servlet.Filter |
|---|
doFilter |
| Field Detail |
|---|
public static final java.lang.String CONST_CAS_ASSERTION
protected final org.apache.commons.logging.Log log
| Constructor Detail |
|---|
public AbstractCasFilter()
| Method Detail |
|---|
public final void init(javax.servlet.FilterConfig filterConfig)
throws javax.servlet.ServletException
javax.servlet.ServletException
protected void initInternal(javax.servlet.FilterConfig filterConfig)
throws javax.servlet.ServletException
filterConfig - the original filter configuration.
javax.servlet.ServletException - if there is a problem.public void init()
public void destroy()
protected final java.lang.String constructServiceUrl(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
public final void setServerName(java.lang.String serverName)
public final void setService(java.lang.String service)
public final void setArtifactParameterName(java.lang.String artifactParameterName)
public final void setServiceParameterName(java.lang.String serviceParameterName)
public final void setEncodeServiceUrl(boolean encodeServiceUrl)
public final java.lang.String getArtifactParameterName()
public final java.lang.String getServiceParameterName()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||