Project JXTA

net.jxta.credential
Class AuthenticationCredential

java.lang.Object
  |
  +--net.jxta.credential.AuthenticationCredential

public final class AuthenticationCredential
extends java.lang.Object
implements Credential


Constructor Summary
AuthenticationCredential(PeerGroup peergroup, java.lang.String method, Element indentityInfo)
          Creates new AuthenticationCredential
 
Method Summary
 StructuredDocument getDocument(MimeMediaType as)
          Returns a document representation of this credential.
 Element getIdentityInfo()
           
 java.lang.String getMethod()
           
 PeerGroupID getPeerGroupID()
          Returns the peerGroupID associated with this credential
 PeerID getPeerID()
          Returns the peerID associated with this credential
 Membership getSourceService()
          Returns the service which generated this credential.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AuthenticationCredential

public AuthenticationCredential(PeerGroup peergroup,
                                java.lang.String method,
                                Element indentityInfo)
Creates new AuthenticationCredential
Method Detail

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

Project JXTA