Class OpenAuthenticator
- java.lang.Object
-
- org.apache.archiva.redback.authentication.AbstractAuthenticator
-
- org.apache.archiva.redback.authentication.open.OpenAuthenticator
-
- All Implemented Interfaces:
Authenticator
@Service("authenticator#open") public class OpenAuthenticator extends AbstractAuthenticator implements AuthenticatorOpenAuthenticator - Does not test user / password. All attempts result in access.- Author:
- Joakim Erdfelt
-
-
Field Summary
-
Fields inherited from class org.apache.archiva.redback.authentication.AbstractAuthenticator
valid
-
-
Constructor Summary
Constructors Constructor Description OpenAuthenticator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AuthenticationResultauthenticate(AuthenticationDataSource s)StringgetId()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
-
OpenAuthenticator
public OpenAuthenticator()
-
-
Method Detail
-
authenticate
public AuthenticationResult authenticate(AuthenticationDataSource s) throws AccountLockedException, AuthenticationException
- Specified by:
authenticatein interfaceAuthenticator- Throws:
AccountLockedExceptionAuthenticationException
-
getId
public String getId()
- Specified by:
getIdin interfaceAuthenticator
-
supportsDataSource
public boolean supportsDataSource(AuthenticationDataSource source)
- Specified by:
supportsDataSourcein interfaceAuthenticator
-
-