Project JXTA

net.jxta.membership
Interface InteractiveAuthenticator

All Superinterfaces:
Authenticator

public interface InteractiveAuthenticator
extends Authenticator

Extension to standard Authenticator for authenticators which support interactive authentication with a human user.

May be requested as authentication method "InteractiveAuthentication" of Membership services which support it. (this will be an alias for one of the service's own methods).


Method Summary
 boolean interact()
          Perform user interface interaction with user.
 
Methods inherited from interface net.jxta.membership.Authenticator
getAuthenticationCredential, getMethodName, getSourceService, isReadyForJoin
 

Method Detail

interact

public boolean interact()
Perform user interface interaction with user. If result is false then Authenticator.isReadyForJoin() will also return false.

Returns:
true if the interaction was not cancelled otherwise false.

JXTA J2SE