|
Project JXTA | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.jxta.impl.membership.pse.StringAuthenticator
An authenticator associated with the PSE membership service.
Authenticator
,
MembershipService
Field Summary | |
(package private) AuthenticationCredential |
application
The Authentication which was provided to the Apply operation of the membership service. |
(package private) ID |
identity
the identity which is being claimed |
(package private) char[] |
key_password
the password for that identity. |
(package private) X509Certificate |
seedCert
|
(package private) 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,
AuthenticationCredential application)
Creates an authenticator for the PSE membership service. |
(package private) |
StringAuthenticator(PSEMembershipService source,
AuthenticationCredential application,
X509Certificate seedCert,
EncryptedPrivateKeyInfo seedKey)
Creates an authenticator for the PSE membership service. |
Method Summary | |
protected void |
finalize()
|
char[] |
getAuth1_KeyStorePassword()
Get KeyStore password |
ID |
getAuth2Identity()
Get Identity |
char[] |
getAuth3_IdentityPassword()
Get identity password |
AuthenticationCredential |
getAuthenticationCredential()
|
X509Certificate |
getCertificate(char[] store_password,
ID aPeer)
|
PeerID[] |
getIdentities(char[] store_password)
Return the available identities. |
String |
getMethodName()
|
MembershipService |
getSourceService()
|
boolean |
isReadyForJoin()
|
void |
setAuth1_KeyStorePassword(char[] store_password)
Set KeyStore password |
void |
setAuth1_KeyStorePassword(String store_password)
Set KeyStore password |
void |
setAuth2Identity(ID identity)
Set Identity |
void |
setAuth2Identity(String id)
Set Identity |
void |
setAuth3_IdentityPassword(char[] key_password)
Set identity password |
void |
setAuth3_IdentityPassword(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 |
transient PSEMembershipService source
transient AuthenticationCredential application
transient X509Certificate seedCert
transient EncryptedPrivateKeyInfo seedKey
transient char[] store_password
transient ID identity
transient char[] key_password
Constructor Detail |
StringAuthenticator(PSEMembershipService source, AuthenticationCredential application, X509Certificate seedCert, EncryptedPrivateKeyInfo seedKey)
source
- The instance of the PSE membership service which
created this authenticator.application
- Anything entered into the identity info section of
the Authentication credential is ignored.StringAuthenticator(PSEMembershipService source, AuthenticationCredential application)
source
- The instance of the PSE membership service which
created this authenticator.application
- Anything entered into the identity info section of
the Authentication credential is ignored.Method Detail |
protected void finalize() throws Throwable
Throwable
public MembershipService getSourceService()
getSourceService
in interface Authenticator
public AuthenticationCredential getAuthenticationCredential()
getAuthenticationCredential
in interface Authenticator
public String getMethodName()
getMethodName
in interface Authenticator
public boolean isReadyForJoin()
isReadyForJoin
in interface Authenticator
public char[] getAuth1_KeyStorePassword()
public void setAuth1_KeyStorePassword(String store_password)
public void setAuth1_KeyStorePassword(char[] store_password)
public PeerID[] getIdentities(char[] store_password)
public X509Certificate getCertificate(char[] store_password, ID aPeer)
public ID getAuth2Identity()
public void setAuth2Identity(String id)
public void setAuth2Identity(ID identity)
public char[] getAuth3_IdentityPassword()
public void setAuth3_IdentityPassword(String key_password)
public void setAuth3_IdentityPassword(char[] key_password)
|
JXTA J2SE | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |