Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

net.jxta.impl.membership.pse
Class StringAuthenticator  view StringAuthenticator download StringAuthenticator.java

java.lang.Object
  extended bynet.jxta.impl.membership.pse.StringAuthenticator
All Implemented Interfaces:
net.jxta.membership.Authenticator
Direct Known Subclasses:
DialogAuthenticator

public class StringAuthenticator
extends java.lang.Object
implements net.jxta.membership.Authenticator

An authenticator associated with the PSE membership service.


Field Summary
(package private)  net.jxta.credential.AuthenticationCredential application
          The Authentication which was provided to the Apply operation of the membership service.
(package private)  net.jxta.id.ID identity
          the identity which is being claimed
(package private)  char[] key_password
          the password for that identity.
(package private)  java.security.cert.X509Certificate seedCert
           
(package private)  javax.crypto.EncryptedPrivateKeyInfo seedKey
           
(package private)  PSEMembershipService source
          The Membership Service which generated this authenticator.
(package private)  char[] store_password
          the password for that identity.
 
Constructor Summary
(package private) StringAuthenticator(PSEMembershipService source, net.jxta.credential.AuthenticationCredential application)
          Creates an authenticator for the PSE membership service.
(package private) StringAuthenticator(PSEMembershipService source, net.jxta.credential.AuthenticationCredential application, java.security.cert.X509Certificate seedCert, javax.crypto.EncryptedPrivateKeyInfo seedKey)
          Creates an authenticator for the PSE membership service.
 
Method Summary
protected  void finalize()
          null
 char[] getAuth1_KeyStorePassword()
          Get KeyStore password
 net.jxta.id.ID getAuth2Identity()
          Get Identity
 char[] getAuth3_IdentityPassword()
          Get identity password
 net.jxta.credential.AuthenticationCredential getAuthenticationCredential()
          null
 java.security.cert.X509Certificate getCertificate(char[] store_password, net.jxta.id.ID aPeer)
           
 net.jxta.peer.PeerID[] getIdentities(char[] store_password)
          Return the available identities.
 java.lang.String getMethodName()
          null
 net.jxta.membership.MembershipService getSourceService()
          null
 boolean isReadyForJoin()
          null
 void setAuth1_KeyStorePassword(char[] store_password)
          Set KeyStore password
 void setAuth1_KeyStorePassword(java.lang.String store_password)
          Set KeyStore password
 void setAuth2Identity(net.jxta.id.ID identity)
          Set Identity
 void setAuth2Identity(java.lang.String id)
          Set Identity
 void setAuth3_IdentityPassword(char[] key_password)
          Set identity password
 void setAuth3_IdentityPassword(java.lang.String key_password)
          Set identity password
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

source

transient PSEMembershipService source
The Membership Service which generated this authenticator.


application

transient net.jxta.credential.AuthenticationCredential application
The Authentication which was provided to the Apply operation of the membership service.


seedCert

transient java.security.cert.X509Certificate seedCert

seedKey

transient javax.crypto.EncryptedPrivateKeyInfo seedKey

store_password

transient char[] store_password
the password for that identity.


identity

transient net.jxta.id.ID identity
the identity which is being claimed


key_password

transient char[] key_password
the password for that identity.

Constructor Detail

StringAuthenticator

StringAuthenticator(PSEMembershipService source,
                    net.jxta.credential.AuthenticationCredential application,
                    java.security.cert.X509Certificate seedCert,
                    javax.crypto.EncryptedPrivateKeyInfo seedKey)
Creates an authenticator for the PSE membership service. Anything entered into the identity info section of the Authentication credential is ignored.


StringAuthenticator

StringAuthenticator(PSEMembershipService source,
                    net.jxta.credential.AuthenticationCredential application)
Creates an authenticator for the PSE membership service. Anything entered into the identity info section of the Authentication credential is ignored.

Method Detail

finalize

protected void finalize()
                 throws java.lang.Throwable
null


getSourceService

public net.jxta.membership.MembershipService getSourceService()
null

Specified by:
getSourceService in interface net.jxta.membership.Authenticator

getAuthenticationCredential

public net.jxta.credential.AuthenticationCredential getAuthenticationCredential()
null

Specified by:
getAuthenticationCredential in interface net.jxta.membership.Authenticator

getMethodName

public java.lang.String getMethodName()
null

Specified by:
getMethodName in interface net.jxta.membership.Authenticator

isReadyForJoin

public boolean isReadyForJoin()
null

Specified by:
isReadyForJoin in interface net.jxta.membership.Authenticator

getAuth1_KeyStorePassword

public char[] getAuth1_KeyStorePassword()
Get KeyStore password


setAuth1_KeyStorePassword

public void setAuth1_KeyStorePassword(java.lang.String store_password)
Set KeyStore password


setAuth1_KeyStorePassword

public void setAuth1_KeyStorePassword(char[] store_password)
Set KeyStore password


getIdentities

public net.jxta.peer.PeerID[] getIdentities(char[] store_password)
Return the available identities.


getCertificate

public java.security.cert.X509Certificate getCertificate(char[] store_password,
                                                         net.jxta.id.ID aPeer)

getAuth2Identity

public net.jxta.id.ID getAuth2Identity()
Get Identity


setAuth2Identity

public void setAuth2Identity(java.lang.String id)
Set Identity


setAuth2Identity

public void setAuth2Identity(net.jxta.id.ID identity)
Set Identity


getAuth3_IdentityPassword

public char[] getAuth3_IdentityPassword()
Get identity password


setAuth3_IdentityPassword

public void setAuth3_IdentityPassword(java.lang.String key_password)
Set identity password


setAuth3_IdentityPassword

public void setAuth3_IdentityPassword(char[] key_password)
Set identity password