Project JXTA

net.jxta.impl.membership.none
Class NoneMembershipService.NoneAuthenticator

java.lang.Object
  extended bynet.jxta.impl.membership.none.NoneMembershipService.NoneAuthenticator
All Implemented Interfaces:
Authenticator
Enclosing class:
NoneMembershipService

public static final class NoneMembershipService.NoneAuthenticator
extends Object
implements Authenticator

Authenticator Class for the None Membership Service. Pre-filled in and ready for join().


Field Summary
(package private)  AuthenticationCredential application
           
(package private)  MembershipService source
           
(package private)  String whoami
           
 
Constructor Summary
(package private) NoneMembershipService.NoneAuthenticator(NoneMembershipService source, AuthenticationCredential application)
          Creates an authenticator for the null membership service.
 
Method Summary
 String getAuth1Identity()
           
 AuthenticationCredential getAuthenticationCredential()
          
 String getMethodName()
          
 MembershipService getSourceService()
          Returns the service which generated this authenticator.
 boolean isReadyForJoin()
          

This implementation is always ready for join()

 void setAuth1Identity(String who)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

source

MembershipService source

application

AuthenticationCredential application

whoami

String whoami
Constructor Detail

NoneMembershipService.NoneAuthenticator

NoneMembershipService.NoneAuthenticator(NoneMembershipService source,
                                        AuthenticationCredential application)
Creates an authenticator for the null membership service. Anything entered into the identity info section of the Authentication credential is ignored.

Parameters:
source - The instance of the null membership service which created this authenticator.
application - Anything entered into the identity info section of the Authentication credential is ignored.
Method Detail

getSourceService

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

Specified by:
getSourceService in interface Authenticator

isReadyForJoin

public boolean isReadyForJoin()

This implementation is always ready for join()

Specified by:
isReadyForJoin in interface Authenticator

getMethodName

public String getMethodName()

Specified by:
getMethodName in interface Authenticator

getAuthenticationCredential

public AuthenticationCredential getAuthenticationCredential()

Specified by:
getAuthenticationCredential in interface Authenticator

setAuth1Identity

public void setAuth1Identity(String who)

getAuth1Identity

public String getAuth1Identity()

JXTA J2SE