public class FederationAuthenticator
extends org.apache.catalina.authenticator.FormAuthenticator
| Modifier and Type | Field and Description |
|---|---|
protected String |
configFile
Fediz Configuration file
|
protected String |
encoding |
static String |
FEDERATION_NOTE |
protected static String |
INFO
Descriptive information about this implementation.
|
static String |
REQUEST_STATE |
static String |
SECURITY_TOKEN |
static String |
SESSION_SAVED_REQUEST_PREFIX |
static String |
SESSION_SAVED_URI_PREFIX |
protected static String |
TRUSTED_ISSUER |
characterEncoding, info, landingPagealwaysUseSession, AUTH_HEADER_NAME, cache, changeSessionIdOnAuthentication, context, disableProxyCaching, REALM_NAME, securePagesWithPragma, secureRandomAlgorithm, secureRandomClass, secureRandomProvider, sessionIdGenerator, sm, ssoasyncSupported, container, containerLog, nextAFTER_DESTROY_EVENT, AFTER_INIT_EVENT, AFTER_START_EVENT, AFTER_STOP_EVENT, BEFORE_DESTROY_EVENT, BEFORE_INIT_EVENT, BEFORE_START_EVENT, BEFORE_STOP_EVENT, CONFIGURE_START_EVENT, CONFIGURE_STOP_EVENT, PERIODIC_EVENT, START_EVENT, STOP_EVENT| Constructor and Description |
|---|
FederationAuthenticator() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
authenticate(org.apache.catalina.connector.Request request,
javax.servlet.http.HttpServletResponse response,
org.apache.catalina.deploy.LoginConfig config) |
protected boolean |
checkUserAuthentication(org.apache.catalina.connector.Request request,
javax.servlet.http.HttpServletResponse response,
org.apache.cxf.fediz.core.config.FedizContext fedCtx) |
protected String |
getAuthMethod() |
String |
getConfigFile() |
protected org.apache.cxf.fediz.core.config.FedizContext |
getContextConfiguration(String contextName) |
String |
getEncoding() |
String |
getInfo()
Return descriptive information about this Valve implementation.
|
void |
invoke(org.apache.catalina.connector.Request request,
org.apache.catalina.connector.Response response) |
protected boolean |
matchRequest(org.apache.catalina.connector.Request request) |
protected void |
redirectToIdp(org.apache.catalina.connector.Request request,
javax.servlet.http.HttpServletResponse response,
org.apache.cxf.fediz.core.config.FedizContext fedCtx) |
protected boolean |
restoreRequest(org.apache.catalina.connector.Request request) |
protected boolean |
restoreRequest(org.apache.catalina.connector.Request request,
javax.servlet.http.HttpServletResponse response) |
protected void |
resumeRequest(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
protected void |
saveRequest(org.apache.catalina.connector.Request request,
String contextId) |
void |
setConfigFile(String configFile) |
void |
setEncoding(String encoding) |
protected void |
startInternal() |
protected void |
stopInternal() |
protected boolean |
validateToken(org.apache.catalina.connector.Request request,
javax.servlet.http.HttpServletResponse response,
org.apache.cxf.fediz.core.config.FedizContext fedConfig) |
forwardToErrorPage, forwardToLoginPage, getCharacterEncoding, getLandingPage, restoreRequest, savedRequestURL, saveRequest, setCharacterEncoding, setLandingPageassociate, authenticate, checkForCachedAuthentication, doLogin, getAlwaysUseSession, getCache, getChangeSessionIdOnAuthentication, getContainer, getDisableProxyCaching, getRequestCertificates, getSecurePagesWithPragma, getSecureRandomAlgorithm, getSecureRandomClass, getSecureRandomProvider, login, logout, reauthenticateFromSSO, register, setAlwaysUseSession, setCache, setChangeSessionIdOnAuthentication, setContainer, setDisableProxyCaching, setSecurePagesWithPragma, setSecureRandomAlgorithm, setSecureRandomClass, setSecureRandomProviderbackgroundProcess, event, getDomainInternal, getNext, getObjectNameKeyProperties, initInternal, isAsyncSupported, setAsyncSupported, setNext, toStringdestroyInternal, getDomain, getObjectName, postDeregister, postRegister, preDeregister, preRegister, register, setDomain, unregisterpublic static final String SESSION_SAVED_REQUEST_PREFIX
public static final String SESSION_SAVED_URI_PREFIX
public static final String FEDERATION_NOTE
public static final String REQUEST_STATE
public static final String SECURITY_TOKEN
protected static final String INFO
protected static final String TRUSTED_ISSUER
protected String configFile
protected String encoding
public String getInfo()
getInfo in interface org.apache.catalina.ValvegetInfo in class org.apache.catalina.authenticator.FormAuthenticatorpublic String getConfigFile()
public void setConfigFile(String configFile)
public String getEncoding()
public void setEncoding(String encoding)
protected void startInternal()
throws org.apache.catalina.LifecycleException
startInternal in class org.apache.catalina.authenticator.AuthenticatorBaseorg.apache.catalina.LifecycleExceptionprotected void stopInternal()
throws org.apache.catalina.LifecycleException
stopInternal in class org.apache.catalina.authenticator.AuthenticatorBaseorg.apache.catalina.LifecycleExceptionprotected org.apache.cxf.fediz.core.config.FedizContext getContextConfiguration(String contextName)
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.authenticator.AuthenticatorBaseIOExceptionjavax.servlet.ServletExceptionpublic boolean authenticate(org.apache.catalina.connector.Request request,
javax.servlet.http.HttpServletResponse response,
org.apache.catalina.deploy.LoginConfig config)
throws IOException
authenticate in interface org.apache.catalina.Authenticatorauthenticate in class org.apache.catalina.authenticator.FormAuthenticatorIOExceptionprotected void resumeRequest(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
protected boolean restoreRequest(org.apache.catalina.connector.Request request,
javax.servlet.http.HttpServletResponse response)
throws IOException
IOExceptionprotected void redirectToIdp(org.apache.catalina.connector.Request request,
javax.servlet.http.HttpServletResponse response,
org.apache.cxf.fediz.core.config.FedizContext fedCtx)
throws IOException
IOExceptionprotected boolean matchRequest(org.apache.catalina.connector.Request request)
matchRequest in class org.apache.catalina.authenticator.FormAuthenticatorprotected void saveRequest(org.apache.catalina.connector.Request request,
String contextId)
throws IOException
IOExceptionprotected boolean restoreRequest(org.apache.catalina.connector.Request request)
throws IOException
IOExceptionprotected boolean checkUserAuthentication(org.apache.catalina.connector.Request request,
javax.servlet.http.HttpServletResponse response,
org.apache.cxf.fediz.core.config.FedizContext fedCtx)
protected boolean validateToken(org.apache.catalina.connector.Request request,
javax.servlet.http.HttpServletResponse response,
org.apache.cxf.fediz.core.config.FedizContext fedConfig)
protected String getAuthMethod()
getAuthMethod in class org.apache.catalina.authenticator.FormAuthenticatorApache Fediz