public interface AuthenticatorModule
AuthenticatorModuleImpl
, SimpleAuthenticatorModule
) of a modular
authenticator (example: AuthenticatorList
).Modifier and Type | Method and Description |
---|---|
void |
clearCredentials()
If usernames/passwords are cached, invoking this method definitely
clears such cached information.
|
ModularAuthenticator |
getModularAuthenticator()
Returns the modular authenticator to which this module belongs.
|
PasswordAuthentication |
getPasswordAuthentication()
Returns the PasswordAuthentication found for the context which can be
queried using the
ModularAuthenticator interface. |
void |
setModularAuthenticator(ModularAuthenticator authenticator)
Invoked by the modular authenticator to specify to its module to which
``parent'' it belongs.
|
void setModularAuthenticator(ModularAuthenticator authenticator)
ModularAuthenticator getModularAuthenticator()
PasswordAuthentication getPasswordAuthentication()
ModularAuthenticator
interface. Returns
null
if, given this context, this module cannot determine
the PasswordAuthentication object.void clearCredentials()