public class NTLMAuthenticationFilter extends BaseNTLMAuthenticationFilter
AUTH_NTLM, AUTHORIZATION, NTLM_AUTH_DETAILS, NTLM_AUTH_SESSION, WWW_AUTHENTICATE
loginPageLink, MIME_HTML_TEXT
ARG_TICKET, AUTHENTICATION_USER, authenticationComponent, authenticationListener, authenticationService, NO_AUTH_REQUIRED, nodeService, personService, remoteUserMapper, transactionService
AUTHENTICATION_USER
Constructor and Description |
---|
NTLMAuthenticationFilter() |
Modifier and Type | Method and Description |
---|---|
protected org.apache.commons.logging.Log |
getLogger()
Return the logger.
|
protected void |
init()
Initializes the filter.
|
protected boolean |
onLoginComplete(javax.servlet.ServletContext sc,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
boolean userInit)
Callback executed on completion of NTLM login
|
protected void |
onValidateFailed(javax.servlet.ServletContext sc,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
javax.servlet.http.HttpSession session,
WebCredentials credentials)
Callback executed on failed authentication of a user ticket during Type3 Message processing
|
protected void |
writeLoginPageLink(javax.servlet.ServletContext context,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
Writes link to login page and refresh tag which cause user
to be redirected to the login page.
|
authenticateRequest, checkNTLMv1, checkNTLMv2, checkNTLMv2SessionKey, disableNTLMv2, getMD4Hash, processType1, processType3, restartLoginChallenge, setMapUnknownUserToGuest, validateLocalHashedPassword
afterPropertiesSet, allowsTicketLogons, checkForTicketParameter, doFilter, getLoginPage, getLoginPageLink, getSecurityConfigSection, getServerName, hasLoginPage, includeFallbackAuth, isActive, isFallbackEnabled, isNTLMSSPBlob, mapClientAddressToDomain, onValidate, performFallbackAuthentication, redirectToLoginPage, setActive, setFallback, setFallbackEnabled, setLoginPage, setLoginPageLink, setServerConfiguration, setTicketLogons
createUserEnvironment, createUserEnvironment, createUserObject, doInSystemTransaction, getSessionUser, getUserAttributeName, handleLoginForm, invalidateSession, setAuthenticationComponent, setAuthenticationListener, setAuthenticationService, setNodeService, setPersonService, setRemoteUserMapper, setTransactionService, setUserAttributeName
protected void init() throws javax.servlet.ServletException
BaseSSOAuthenticationFilter
BaseSSOAuthenticationFilter.isActive()
. Subclasses
should override.init
in class BaseNTLMAuthenticationFilter
javax.servlet.ServletException
protected void onValidateFailed(javax.servlet.ServletContext sc, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, javax.servlet.http.HttpSession session, WebCredentials credentials) throws IOException
BaseSSOAuthenticationFilter
onValidateFailed
in class BaseSSOAuthenticationFilter
sc
- the servlet contextreq
- HttpServletRequestres
- HttpServletResponsesession
- HttpSessionIOException
protected boolean onLoginComplete(javax.servlet.ServletContext sc, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, boolean userInit) throws IOException
BaseSSOAuthenticationFilter
onLoginComplete
in class BaseSSOAuthenticationFilter
req
- HttpServletRequestres
- HttpServletResponseIOException
protected void writeLoginPageLink(javax.servlet.ServletContext context, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) throws IOException
BaseSSOAuthenticationFilter
writeLoginPageLink
in class BaseSSOAuthenticationFilter
context
- ServletContextreq
- HttpServletRequestresp
- HttpServletResponseIOException
protected final org.apache.commons.logging.Log getLogger()
BaseAuthenticationFilter
getLogger
in class BaseAuthenticationFilter
Copyright © 2005–2018 Alfresco Software. All rights reserved.