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 classBasicHttpAuthenticatorFactory.BasicHttpAuthenticatorHTTP Basic Authentication
-
Field Summary
Fields Modifier and Type Field Description protected AuthenticationServiceauthenticationServiceprotected 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)AuthorityServicegetAuthorityService()voidsetAuthenticationListener(AuthenticationListener listener)Set the listener for authentication events, generated byBasicHttpAuthenticatorFactory.BasicHttpAuthenticatorinstances.voidsetAuthenticationService(AuthenticationService authenticationService)voidsetAuthorityService(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.BasicHttpAuthenticatorinstances.
-
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:
createin interfaceorg.springframework.extensions.webscripts.servlet.ServletAuthenticatorFactory
-
-