@Service(value="authenticator#archiva") public class ArchivaUserManagerAuthenticator extends org.apache.archiva.redback.authentication.AbstractAuthenticator implements org.apache.archiva.redback.authentication.Authenticator
Modifier and Type | Field and Description |
---|---|
private org.springframework.context.ApplicationContext |
applicationContext |
private List<AuditListener> |
auditListeners |
private org.slf4j.Logger |
log |
private RedbackRuntimeConfigurationAdmin |
redbackRuntimeConfigurationAdmin |
private org.apache.archiva.redback.policy.UserSecurityPolicy |
securityPolicy |
private List<org.apache.archiva.redback.users.UserManager> |
userManagers |
private boolean |
valid |
Constructor and Description |
---|
ArchivaUserManagerAuthenticator() |
Modifier and Type | Method and Description |
---|---|
org.apache.archiva.redback.authentication.AuthenticationResult |
authenticate(org.apache.archiva.redback.authentication.AuthenticationDataSource ds) |
protected AuditInfoFilter.AuditInfo |
getAuditInformation() |
List<AuditListener> |
getAuditListeners() |
String |
getId() |
void |
initialize() |
boolean |
isValid() |
boolean |
supportsDataSource(org.apache.archiva.redback.authentication.AuthenticationDataSource source) |
protected void |
triggerAuditEvent(String repositoryId,
String filePath,
String action,
String user) |
private org.slf4j.Logger log
@Inject private org.apache.archiva.redback.policy.UserSecurityPolicy securityPolicy
@Inject private org.springframework.context.ApplicationContext applicationContext
@Inject private RedbackRuntimeConfigurationAdmin redbackRuntimeConfigurationAdmin
@Inject private List<AuditListener> auditListeners
private List<org.apache.archiva.redback.users.UserManager> userManagers
private boolean valid
public ArchivaUserManagerAuthenticator()
@PostConstruct public void initialize() throws org.apache.archiva.redback.authentication.AuthenticationException
initialize
in interface org.apache.archiva.redback.authentication.Authenticator
initialize
in class org.apache.archiva.redback.authentication.AbstractAuthenticator
org.apache.archiva.redback.authentication.AuthenticationException
protected AuditInfoFilter.AuditInfo getAuditInformation()
public List<AuditListener> getAuditListeners()
protected void triggerAuditEvent(String repositoryId, String filePath, String action, String user)
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
authenticate
in interface org.apache.archiva.redback.authentication.Authenticator
org.apache.archiva.redback.authentication.AuthenticationException
org.apache.archiva.redback.policy.AccountLockedException
org.apache.archiva.redback.policy.MustChangePasswordException
public boolean supportsDataSource(org.apache.archiva.redback.authentication.AuthenticationDataSource source)
supportsDataSource
in interface org.apache.archiva.redback.authentication.Authenticator
public String getId()
getId
in interface org.apache.archiva.redback.authentication.Authenticator
public boolean isValid()
isValid
in interface org.apache.archiva.redback.authentication.Authenticator
isValid
in class org.apache.archiva.redback.authentication.AbstractAuthenticator
Copyright © 2006–2023 The Apache Software Foundation. All rights reserved.