Class BasicHttpAuthenticatorFactory
- java.lang.Object
-
- org.alfresco.repo.web.scripts.servlet.BasicHttpAuthenticatorFactory
-
- All Implemented Interfaces:
org.springframework.extensions.webscripts.servlet.ServletAuthenticatorFactory
- Direct Known Subclasses:
RemoteUserAuthenticatorFactory
public class BasicHttpAuthenticatorFactory extends java.lang.Object implements org.springframework.extensions.webscripts.servlet.ServletAuthenticatorFactoryHTTP Basic Authentication- Author:
- davidc
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description classBasicHttpAuthenticatorFactory.BasicHttpAuthenticatorHTTP Basic Authentication
-
Field Summary
Fields Modifier and Type Field Description protected org.alfresco.service.cmr.security.AuthenticationServiceauthenticationServiceprotected org.alfresco.service.cmr.security.AuthorityServiceauthorityServiceprotected AuthenticationListenerlistener
-
Constructor Summary
Constructors Constructor Description BasicHttpAuthenticatorFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.springframework.extensions.webscripts.Authenticatorcreate(org.springframework.extensions.webscripts.servlet.WebScriptServletRequest req, org.springframework.extensions.webscripts.servlet.WebScriptServletResponse res)org.alfresco.service.cmr.security.AuthorityServicegetAuthorityService()voidsetAuthenticationListener(AuthenticationListener listener)Set the listener for authentication events, generated byBasicHttpAuthenticatorFactory.BasicHttpAuthenticatorinstances.voidsetAuthenticationService(org.alfresco.service.cmr.security.AuthenticationService authenticationService)voidsetAuthorityService(org.alfresco.service.cmr.security.AuthorityService authorityService)
-
-
-
Field Detail
-
authenticationService
protected org.alfresco.service.cmr.security.AuthenticationService authenticationService
-
authorityService
protected org.alfresco.service.cmr.security.AuthorityService authorityService
-
listener
protected AuthenticationListener listener
-
-
Method Detail
-
setAuthenticationService
public void setAuthenticationService(org.alfresco.service.cmr.security.AuthenticationService authenticationService)
- Parameters:
authenticationService- AuthenticationService
-
setAuthenticationListener
public void setAuthenticationListener(AuthenticationListener listener)
Set the listener for authentication events, generated byBasicHttpAuthenticatorFactory.BasicHttpAuthenticatorinstances.
-
getAuthorityService
public org.alfresco.service.cmr.security.AuthorityService getAuthorityService()
-
setAuthorityService
public void setAuthorityService(org.alfresco.service.cmr.security.AuthorityService authorityService)
-
create
public org.springframework.extensions.webscripts.Authenticator create(org.springframework.extensions.webscripts.servlet.WebScriptServletRequest req, org.springframework.extensions.webscripts.servlet.WebScriptServletResponse res)- Specified by:
createin interfaceorg.springframework.extensions.webscripts.servlet.ServletAuthenticatorFactory
-
-