net.jxta.credential
Class AuthenticationCredential
java.lang.Object
|
+--net.jxta.credential.AuthenticationCredential
- public final class AuthenticationCredential
- extends java.lang.Object
- implements Credential
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
AuthenticationCredential
public AuthenticationCredential(PeerGroup peergroup,
java.lang.String method,
Element indentityInfo)
- Creates new AuthenticationCredential
getSourceService
public Membership getSourceService()
- Description copied from interface: Credential
- Returns the service which generated this credential.
- Specified by:
- getSourceService in interface Credential
getPeerGroupID
public PeerGroupID getPeerGroupID()
- Description copied from interface: Credential
- Returns the peerGroupID associated with this credential
- Specified by:
- getPeerGroupID in interface Credential
getPeerID
public PeerID getPeerID()
- Description copied from interface: Credential
- Returns the peerID associated with this credential
- Specified by:
- getPeerID in interface Credential
getMethod
public java.lang.String getMethod()
getIdentityInfo
public Element getIdentityInfo()
getDocument
public StructuredDocument getDocument(MimeMediaType as)
throws java.lang.Exception
- Description copied from interface: Credential
- Returns a document representation of this credential.
- Specified by:
- getDocument in interface Credential