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 Authenticator
MemoryAuthenticator:
-
-
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 AuthenticationResult
authenticate(AuthenticationDataSource s)
String
getId()
String
getLogin()
String
getPassword()
void
setLogin(String login)
void
setPassword(String password)
boolean
supportsDataSource(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:
getId
in interfaceAuthenticator
-
authenticate
public AuthenticationResult authenticate(AuthenticationDataSource s) throws AuthenticationException
- Specified by:
authenticate
in interfaceAuthenticator
- Throws:
AuthenticationException
-
supportsDataSource
public boolean supportsDataSource(AuthenticationDataSource source)
- Specified by:
supportsDataSource
in interfaceAuthenticator
-
getPassword
public String getPassword()
-
setPassword
public void setPassword(String password)
-
-