AuthenticationResult authenticate( AuthenticationDataSource source )
throws AccountLockedException, AuthenticationException, MustChangePasswordException;
+
+ void initialize() throws AuthenticationException;
}
* under the License.
*/
+import org.apache.archiva.redback.authentication.AbstractAuthenticator;
import org.apache.archiva.redback.authentication.AuthenticationConstants;
import org.apache.archiva.redback.common.ldap.UserMapper;
import org.apache.archiva.redback.common.ldap.connection.LdapConnectionFactory;
*/
@Service( "authenticator#ldap" )
public class LdapBindAuthenticator
+ extends AbstractAuthenticator
implements Authenticator
{
* under the License.
*/
+import org.apache.archiva.redback.authentication.AbstractAuthenticator;
import org.apache.archiva.redback.authentication.AuthenticationDataSource;
import org.apache.archiva.redback.authentication.AuthenticationException;
import org.apache.archiva.redback.authentication.AuthenticationResult;
*/
@Service("authenticator#memory")
public class MemoryAuthenticator
+ extends AbstractAuthenticator
implements Authenticator
{
private String login;
* under the License.
*/
+import org.apache.archiva.redback.authentication.AbstractAuthenticator;
import org.apache.archiva.redback.authentication.AuthenticationDataSource;
import org.apache.archiva.redback.authentication.AuthenticationException;
import org.apache.archiva.redback.authentication.AuthenticationResult;
/**
* OpenAuthenticator - Does not test user / password.
- * All attempts result in access.
+ * All attempts result in access.
*
* @author <a href="mailto:joakim@erdfelt.com">Joakim Erdfelt</a>
- *
- *
*/
@Service("authenticator#open")
public class OpenAuthenticator
+ extends AbstractAuthenticator
implements Authenticator
{
* under the License.
*/
+import org.apache.archiva.redback.authentication.AbstractAuthenticator;
import org.apache.archiva.redback.authentication.AuthenticationConstants;
import org.apache.archiva.redback.authentication.AuthenticationDataSource;
import org.apache.archiva.redback.authentication.AuthenticationException;
*/
@Service("authenticator#user-manager")
public class UserManagerAuthenticator
+ extends AbstractAuthenticator
implements Authenticator
{
private Logger log = LoggerFactory.getLogger( getClass() );
return "UserManagerAuthenticator";
}
+
/**
* @throws org.apache.archiva.redback.policy.AccountLockedException
*
* under the License.
*/
+import org.apache.archiva.redback.authentication.AbstractAuthenticator;
import org.apache.archiva.redback.authentication.AuthenticationDataSource;
import org.apache.archiva.redback.authentication.AuthenticationException;
import org.apache.archiva.redback.authentication.AuthenticationResult;
*/
@Service("authenticator#keystore")
public class KeyStoreAuthenticator
+ extends AbstractAuthenticator
implements Authenticator
{
private Logger log = LoggerFactory.getLogger( getClass() );