|
Project JXTA | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
An Authenticator is returned by the apply() to the Membership Service of a peergroup. The Membership When the authenticator has been completed it is returned to the Membership Service via the "Join" operation.
The mechanism for completing the authentication object is unique for each authentication method. (That's the whole point of writing a Membership Service). The only common operation isisReadyForJoin
, which
provides information as to whether you have completed the authenticator
correctly.
MembershipService
,
Credential
,
AuthenticationCredential
Method Summary | |
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) . |
Method Detail |
public String getMethodName()
public AuthenticationCredential getAuthenticationCredential()
MembershipService.apply(AuthenticationCredential)
.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)
|
JXTA J2SE | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |