September 2002
Intermediate to advanced
416 pages
14h 46m
English
Credential
Objects that implement this interface provide credentials to the membership service (and, conceivably, to other services). The membership service uses credentials to authenticate peers that want to join a peergroup.
Credentials are represented as structured documents; information about the credentials can be retrieved from these documents. In addition, the peer and peergroup IDs can be retrieved directly from the credentials.
public interface Credential { // Public Instance Methods public abstract net.jxta.document.StructuredDocument getDocument(net.jxta.document.MimeMediaType as) throws Exception; public abstract net.jxta.id.ID getPeerGroupID(); public abstract net.jxta.id.ID getPeerID(); public abstract net.jxta.membership.MembershipService getSourceService(); }
AuthenticationCredential
net.jxta.membership.MembershipService.{join(),
makeCredential()}
Read now
Unlock full access