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.ServletAuthenticatorFactory
HTTP Basic Authentication- Author:
- davidc
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
BasicHttpAuthenticatorFactory.BasicHttpAuthenticator
HTTP Basic Authentication
-
Field Summary
Fields Modifier and Type Field Description protected org.alfresco.service.cmr.security.AuthenticationService
authenticationService
protected org.alfresco.service.cmr.security.AuthorityService
authorityService
protected AuthenticationListener
listener
-
Constructor Summary
Constructors Constructor Description BasicHttpAuthenticatorFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.springframework.extensions.webscripts.Authenticator
create(org.springframework.extensions.webscripts.servlet.WebScriptServletRequest req, org.springframework.extensions.webscripts.servlet.WebScriptServletResponse res)
org.alfresco.service.cmr.security.AuthorityService
getAuthorityService()
void
setAuthenticationListener(AuthenticationListener listener)
Set the listener for authentication events, generated byBasicHttpAuthenticatorFactory.BasicHttpAuthenticator
instances.void
setAuthenticationService(org.alfresco.service.cmr.security.AuthenticationService authenticationService)
void
setAuthorityService(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.BasicHttpAuthenticator
instances.
-
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:
create
in interfaceorg.springframework.extensions.webscripts.servlet.ServletAuthenticatorFactory
-
-