|
JXTA | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.jxta.impl.membership.PasswdMembershipService.PasswdAuthenticator
net.jxta.impl.membership.passwd.PasswdMembershipService.PasswdAuthenticator
public static final class PasswdMembershipService.PasswdAuthenticator
Creates an authenticator for the passwd membership service. Anything entered into the identity info section of the Authentication credential is ignored.
HACK ALERT! THE INHERITANCE FROMnet.jxta.impl.membership.PasswdMembershipService.PasswdAuthenticator
IS A TOTAL HACK FOR BACKWARDS COMPATIBILITY.
Field Summary | |
---|---|
(package private) AuthenticationCredential |
application
The Authentication which was provided to the Apply operation of the membership service. |
(package private) String |
password
the password for that identity. |
(package private) PasswdMembershipService |
source
The Membership Service which generated this authenticator. |
(package private) String |
whoami
the identity which is being claimed |
Constructor Summary | |
---|---|
PasswdMembershipService.PasswdAuthenticator(PasswdMembershipService source,
AuthenticationCredential application)
Creates an authenticator for the password MembershipService service. |
Method Summary | |
---|---|
String |
getAuth1Identity()
|
protected String |
getAuth2_Password()
|
AuthenticationCredential |
getAuthenticationCredential()
Return the Authentication Credential associated with this authenticator, if any. |
String |
getMethodName()
Returns the name of this authentication method. |
MembershipService |
getSourceService()
Returns the service which generated this authenticator. |
boolean |
isReadyForJoin()
Returns true if this Authenticator has been satisfied and is ready for submission to MembershipService.join(Authenticator) . |
void |
setAuth1Identity(String who)
|
void |
setAuth2_Password(String secret)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
PasswdMembershipService source
AuthenticationCredential application
String whoami
String password
Constructor Detail |
---|
PasswdMembershipService.PasswdAuthenticator(PasswdMembershipService source, AuthenticationCredential application)
source
- The instance of the password membership service which created this
authenticator.application
- The Anything entered into the identity info section of the Authentication
credential is ignored.Method Detail |
---|
public MembershipService getSourceService()
public boolean isReadyForJoin()
MembershipService.join(Authenticator)
. Some
authenticators may behave asynchronously and this method can be used to
determine if the authentication process has completed.
This method provides no distinction between incomplete authentication
and failed authentication.
MembershipService.join(Authenticator)
, otherwise false.MembershipService.join(Authenticator)
public String getMethodName()
public AuthenticationCredential getAuthenticationCredential()
MembershipService.apply(AuthenticationCredential)
.public void setAuth1Identity(String who)
setAuth1Identity
in class PasswdMembershipService.PasswdAuthenticator
public String getAuth1Identity()
getAuth1Identity
in class PasswdMembershipService.PasswdAuthenticator
public void setAuth2_Password(String secret)
setAuth2_Password
in class PasswdMembershipService.PasswdAuthenticator
protected String getAuth2_Password()
getAuth2_Password
in class PasswdMembershipService.PasswdAuthenticator
|
JXSE | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |