public class KerberosAuthenticationHandler extends BaseKerberosAuthenticationFilter
Kerberos SSO web authentication implementation.
loginPageLink, MIME_HTML_TEXT
ARG_TICKET, AUTHENTICATION_USER, authenticationComponent, authenticationListener, authenticationService, NO_AUTH_REQUIRED, nodeService, personService, remoteUserMapper, transactionService
AUTHENTICATION_USER
Constructor and Description |
---|
KerberosAuthenticationHandler() |
Modifier and Type | Method and Description |
---|---|
protected SessionUser |
createUserObject(String userName,
String ticket,
org.alfresco.service.cmr.repository.NodeRef personNode,
org.alfresco.service.cmr.repository.NodeRef homeSpaceRef)
Create the user object that will be stored in the session.
|
protected org.apache.commons.logging.Log |
getLogger()
Return the logger.
|
protected void |
init()
Initializes the filter.
|
protected void |
onValidateFailed(ServletContext sc,
HttpServletRequest req,
HttpServletResponse res,
HttpSession session,
WebCredentials credentials)
Callback executed on failed authentication of a user ticket during Type3 Message processing
|
authenticateRequest, checkLoginPage, handle, logonStartAgain, restartLoginChallenge, setJaasConfigEntryName, setPassword, setRealm, setStripKerberosUsernameSuffix
afterPropertiesSet, allowsTicketLogons, checkForTicketParameter, doFilter, getLoginPage, getLoginPageLink, getSecurityConfigSection, getServerName, hasLoginPage, includeFallbackAuth, isActive, isFallbackEnabled, isNTLMSSPBlob, mapClientAddressToDomain, onLoginComplete, onValidate, performFallbackAuthentication, redirectToLoginPage, setActive, setFallback, setFallbackEnabled, setLoginPage, setLoginPageLink, setServerConfiguration, setTicketLogons, writeLoginPageLink
createUserEnvironment, createUserEnvironment, doInSystemTransaction, getSessionUser, getUserAttributeName, handleLoginForm, invalidateSession, setAuthenticationComponent, setAuthenticationListener, setAuthenticationService, setNodeService, setPersonService, setRemoteUserMapper, setTransactionService, setUserAttributeName
protected void init() throws ServletException
BaseSSOAuthenticationFilter
BaseSSOAuthenticationFilter.isActive()
. Subclasses
should override.init
in class BaseKerberosAuthenticationFilter
ServletException
protected void onValidateFailed(ServletContext sc, HttpServletRequest req, HttpServletResponse res, HttpSession session, WebCredentials credentials) throws IOException
BaseSSOAuthenticationFilter
onValidateFailed
in class BaseSSOAuthenticationFilter
sc
- the servlet contextreq
- HttpServletRequestres
- HttpServletResponsesession
- HttpSessionIOException
protected SessionUser createUserObject(String userName, String ticket, org.alfresco.service.cmr.repository.NodeRef personNode, org.alfresco.service.cmr.repository.NodeRef homeSpaceRef)
BaseAuthenticationFilter
createUserObject
in class BaseAuthenticationFilter
userName
- Stringticket
- StringpersonNode
- NodeRefhomeSpaceRef
- NodeRefprotected org.apache.commons.logging.Log getLogger()
BaseAuthenticationFilter
getLogger
in class BaseAuthenticationFilter
Copyright © 2005–2017 Alfresco Software. All rights reserved.