Class MemoryAuthenticator
- java.lang.Object
-
- org.apache.archiva.redback.authentication.AbstractAuthenticator
-
- org.apache.archiva.redback.authentication.memory.MemoryAuthenticator
-
- All Implemented Interfaces:
Authenticator
@Service("authenticator#memory") public class MemoryAuthenticator extends AbstractAuthenticator implements AuthenticatorMemoryAuthenticator:
-
-
Field Summary
-
Fields inherited from class org.apache.archiva.redback.authentication.AbstractAuthenticator
valid
-
-
Constructor Summary
Constructors Constructor Description MemoryAuthenticator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AuthenticationResultauthenticate(AuthenticationDataSource s)StringgetId()StringgetLogin()StringgetPassword()voidsetLogin(String login)voidsetPassword(String password)booleansupportsDataSource(AuthenticationDataSource source)-
Methods inherited from class org.apache.archiva.redback.authentication.AbstractAuthenticator
initialize, isValid
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.archiva.redback.authentication.Authenticator
initialize, isValid
-
-
-
-
Constructor Detail
-
MemoryAuthenticator
public MemoryAuthenticator()
-
-
Method Detail
-
getId
public String getId()
- Specified by:
getIdin interfaceAuthenticator
-
authenticate
public AuthenticationResult authenticate(AuthenticationDataSource s) throws AuthenticationException
- Specified by:
authenticatein interfaceAuthenticator- Throws:
AuthenticationException
-
supportsDataSource
public boolean supportsDataSource(AuthenticationDataSource source)
- Specified by:
supportsDataSourcein interfaceAuthenticator
-
getPassword
public String getPassword()
-
setPassword
public void setPassword(String password)
-
-