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 Object
implements org.springframework.extensions.webscripts.servlet.ServletAuthenticatorFactory
HTTP Basic Authentication
- Author:
- davidc
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassHTTP Basic Authentication -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected AuthenticationServiceprotected AuthorityServiceprotected AuthenticationListener -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.extensions.webscripts.Authenticatorcreate(org.springframework.extensions.webscripts.servlet.WebScriptServletRequest req, org.springframework.extensions.webscripts.servlet.WebScriptServletResponse res) voidSet the listener for authentication events, generated byBasicHttpAuthenticatorFactory.BasicHttpAuthenticatorinstances.voidsetAuthenticationService(AuthenticationService authenticationService) voidsetAuthorityService(AuthorityService authorityService)
-
Field Details
-
authenticationService
-
authorityService
-
listener
-
-
Constructor Details
-
BasicHttpAuthenticatorFactory
public BasicHttpAuthenticatorFactory()
-
-
Method Details
-
setAuthenticationService
- Parameters:
authenticationService- AuthenticationService
-
setAuthenticationListener
Set the listener for authentication events, generated byBasicHttpAuthenticatorFactory.BasicHttpAuthenticatorinstances. -
getAuthorityService
-
setAuthorityService
-
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
-