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 Classes Modifier and Type Class Description class
BasicHttpAuthenticatorFactory.BasicHttpAuthenticator
HTTP Basic Authentication
-
Field Summary
Fields Modifier and Type Field Description protected AuthenticationService
authenticationService
protected 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)
AuthorityService
getAuthorityService()
void
setAuthenticationListener(AuthenticationListener listener)
Set the listener for authentication events, generated byBasicHttpAuthenticatorFactory.BasicHttpAuthenticator
instances.void
setAuthenticationService(AuthenticationService authenticationService)
void
setAuthorityService(AuthorityService authorityService)
-
-
-
Field Detail
-
authenticationService
protected AuthenticationService authenticationService
-
authorityService
protected AuthorityService authorityService
-
listener
protected AuthenticationListener listener
-
-
Method Detail
-
setAuthenticationService
public void setAuthenticationService(AuthenticationService authenticationService)
- Parameters:
authenticationService
- AuthenticationService
-
setAuthenticationListener
public void setAuthenticationListener(AuthenticationListener listener)
Set the listener for authentication events, generated byBasicHttpAuthenticatorFactory.BasicHttpAuthenticator
instances.
-
getAuthorityService
public AuthorityService getAuthorityService()
-
setAuthorityService
public void setAuthorityService(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
-
-