Project JXTA

net.jxta.membership
Interface Authenticator


public interface Authenticator

Provides the base interface for


Method Summary
 AuthenticationCredential getAuthenticationCredential()
          Return the Authentication Credential associated with this authenticator if any.
 java.lang.String getMethodName()
          Returns the name of this authentication method.
 Membership getSourceService()
          Returns the service which generated this authenticator.
 boolean isReadyForJoin()
          Returns true if this Authenticator has been satisfied and is ready for the join operation.
 

Method Detail

getMethodName

public java.lang.String getMethodName()
Returns the name of this authentication method. This should be the same name which was used in the Authentication credential.

getAuthenticationCredential

public AuthenticationCredential getAuthenticationCredential()
Return the Authentication Credential associated with this authenticator if any.

getSourceService

public Membership getSourceService()
Returns the service which generated this authenticator.

isReadyForJoin

public boolean isReadyForJoin()
Returns true if this Authenticator has been satisfied and is ready for the join operation. Some authenticators may behave in an asynchronously and this method can be used to determine if the authentication process has completed. This method makes no distinction between incomplete authentication and failed authentication.

Project JXTA