Project JXTA

net.jxta.impl.membership
Class NullMembership.NullAuthenticator

java.lang.Object
  |
  +--net.jxta.impl.membership.NullMembership.NullAuthenticator
Enclosing class:
NullMembership

public class NullMembership.NullAuthenticator
extends java.lang.Object
implements net.jxta.membership.Authenticator


Method Summary
 java.lang.String getAuth1Identity()
           
 net.jxta.credential.AuthenticationCredential getAuthenticationCredential()
           
 java.lang.String getMethodName()
          Returns the name of this authentication method.
 net.jxta.membership.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.
 void setAuth1Identity(java.lang.String who)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getSourceService

public net.jxta.membership.Membership getSourceService()
Returns the service which generated this authenticator.
Specified by:
getSourceService in interface net.jxta.membership.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.
Specified by:
isReadyForJoin in interface net.jxta.membership.Authenticator

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.
Specified by:
getMethodName in interface net.jxta.membership.Authenticator

getAuthenticationCredential

public net.jxta.credential.AuthenticationCredential getAuthenticationCredential()
Specified by:
getAuthenticationCredential in interface net.jxta.membership.Authenticator

setAuth1Identity

public void setAuth1Identity(java.lang.String who)

getAuth1Identity

public java.lang.String getAuth1Identity()

Project JXTA