|
JXTA | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.jxta.impl.membership.none.NoneMembershipService.NoneAuthenticator
public static final class NoneMembershipService.NoneAuthenticator
Authenticator Class for the None Membership Service. Pre-filled in and
ready for join()
.
Field Summary | |
---|---|
(package private) AuthenticationCredential |
application
|
(package private) MembershipService |
source
|
(package private) String |
whoami
|
Constructor Summary | |
---|---|
NoneMembershipService.NoneAuthenticator(NoneMembershipService source,
AuthenticationCredential application)
Creates an authenticator for the null membership service. |
Method Summary | |
---|---|
String |
getAuth1Identity()
|
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)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
MembershipService source
AuthenticationCredential application
String whoami
Constructor Detail |
---|
NoneMembershipService.NoneAuthenticator(NoneMembershipService source, AuthenticationCredential application)
source
- The instance of the null membership service which
created this authenticator.application
- Anything entered into the identity info section of
the Authentication credential is ignored.Method Detail |
---|
public MembershipService getSourceService()
getSourceService
in interface Authenticator
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.
This implementation is always ready for
join()
isReadyForJoin
in interface Authenticator
MembershipService.join(Authenticator)
, otherwise false.MembershipService.join(Authenticator)
public String getMethodName()
getMethodName
in interface Authenticator
public AuthenticationCredential getAuthenticationCredential()
getAuthenticationCredential
in interface Authenticator
MembershipService.apply(AuthenticationCredential)
.public void setAuth1Identity(String who)
public String getAuth1Identity()
|
JXSE | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |