org.apache.archiva.web.security
Class ArchivaUserManagerAuthenticator
java.lang.Object
org.apache.archiva.redback.authentication.AbstractAuthenticator
org.apache.archiva.web.security.ArchivaUserManagerAuthenticator
- All Implemented Interfaces:
- org.apache.archiva.redback.authentication.Authenticator
@Service(value="authenticator#archiva")
public class ArchivaUserManagerAuthenticator
- extends org.apache.archiva.redback.authentication.AbstractAuthenticator
- implements org.apache.archiva.redback.authentication.Authenticator
- Since:
- 1.4-M4
- Author:
- Olivier Lamy
Method Summary |
org.apache.archiva.redback.authentication.AuthenticationResult |
authenticate(org.apache.archiva.redback.authentication.AuthenticationDataSource ds)
|
String |
getId()
|
void |
initialize()
|
boolean |
supportsDataSource(org.apache.archiva.redback.authentication.AuthenticationDataSource source)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
private org.slf4j.Logger log
securityPolicy
@Inject
private org.apache.archiva.redback.policy.UserSecurityPolicy securityPolicy
applicationContext
@Inject
private org.springframework.context.ApplicationContext applicationContext
redbackRuntimeConfigurationAdmin
@Inject
private RedbackRuntimeConfigurationAdmin redbackRuntimeConfigurationAdmin
userManagers
private List<org.apache.archiva.redback.users.UserManager> userManagers
ArchivaUserManagerAuthenticator
public ArchivaUserManagerAuthenticator()
initialize
@PostConstruct
public void initialize()
throws org.apache.archiva.redback.authentication.AuthenticationException
- Specified by:
initialize
in interface org.apache.archiva.redback.authentication.Authenticator
- Overrides:
initialize
in class org.apache.archiva.redback.authentication.AbstractAuthenticator
- Throws:
org.apache.archiva.redback.authentication.AuthenticationException
authenticate
public org.apache.archiva.redback.authentication.AuthenticationResult authenticate(org.apache.archiva.redback.authentication.AuthenticationDataSource ds)
throws org.apache.archiva.redback.authentication.AuthenticationException,
org.apache.archiva.redback.policy.AccountLockedException,
org.apache.archiva.redback.policy.MustChangePasswordException
- Specified by:
authenticate
in interface org.apache.archiva.redback.authentication.Authenticator
- Throws:
org.apache.archiva.redback.authentication.AuthenticationException
org.apache.archiva.redback.policy.AccountLockedException
org.apache.archiva.redback.policy.MustChangePasswordException
supportsDataSource
public boolean supportsDataSource(org.apache.archiva.redback.authentication.AuthenticationDataSource source)
- Specified by:
supportsDataSource
in interface org.apache.archiva.redback.authentication.Authenticator
getId
public String getId()
- Specified by:
getId
in interface org.apache.archiva.redback.authentication.Authenticator
Copyright © 2006-2013 The Apache Software Foundation. All Rights Reserved.