org.codehaus.plexus.redback.authentication.open
Class OpenAuthenticator

java.lang.Object
  extended by org.codehaus.plexus.redback.authentication.open.OpenAuthenticator
All Implemented Interfaces:
org.codehaus.plexus.redback.authentication.Authenticator

@Service(value="authenticator#open")
public class OpenAuthenticator
extends java.lang.Object
implements org.codehaus.plexus.redback.authentication.Authenticator

OpenAuthenticator - Does not test user / password. All attempts result in access.

Version:
$Id: OpenAuthenticator.java 692 2009-01-11 13:48:13Z olamy $
Author:
Joakim Erdfelt

Field Summary
 
Fields inherited from interface org.codehaus.plexus.redback.authentication.Authenticator
ROLE
 
Constructor Summary
OpenAuthenticator()
           
 
Method Summary
 org.codehaus.plexus.redback.authentication.AuthenticationResult authenticate(org.codehaus.plexus.redback.authentication.AuthenticationDataSource s)
           
 java.lang.String getId()
           
 boolean supportsDataSource(org.codehaus.plexus.redback.authentication.AuthenticationDataSource source)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OpenAuthenticator

public OpenAuthenticator()
Method Detail

authenticate

public org.codehaus.plexus.redback.authentication.AuthenticationResult authenticate(org.codehaus.plexus.redback.authentication.AuthenticationDataSource s)
                                                                             throws org.codehaus.plexus.redback.policy.AccountLockedException,
                                                                                    org.codehaus.plexus.redback.authentication.AuthenticationException
Specified by:
authenticate in interface org.codehaus.plexus.redback.authentication.Authenticator
Throws:
org.codehaus.plexus.redback.policy.AccountLockedException
org.codehaus.plexus.redback.authentication.AuthenticationException

getId

public java.lang.String getId()
Specified by:
getId in interface org.codehaus.plexus.redback.authentication.Authenticator

supportsDataSource

public boolean supportsDataSource(org.codehaus.plexus.redback.authentication.AuthenticationDataSource source)
Specified by:
supportsDataSource in interface org.codehaus.plexus.redback.authentication.Authenticator


Copyright © 2006-2011 Codehaus. All Rights Reserved.