Name
Authenticator
Synopsis
Membership services use classes that
implement this interface to process the credentials of a peer
attempting to join the service; it is the application in the
membership process. The membership service returns an
Authenticator object from its apply( ) method; the peer then fills out the object and passes it
back to the join( ) method of the membership
service.
The mechanics for filling out the Authenticator
object will vary due to the specific policy of the membership
service. In general, each Authenticator type will
contain a number of setter methods that the peer must use to fill out
the membership application.
public interface Authenticator { // Public Instance Methods public abstract net.jxta.credential.AuthenticationCredential getAuthenticationCredential(); public abstract String getMethodName(); public abstract MembershipService getSourceService(); public abstract boolean isReadyForJoin(); }
Passed To
MembershipService.join()
Returned By
MembershipService.apply()
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access