abort() method

Aborts the authentication process.

Syntax

boolean abort ()

Returns

true if this method succeeded, or false if this LoginModule should be ignored.

Exceptions

Usage

This method is called if the LoginContext's overall authentication failed. (the relevant REQUIRED, REQUISITE, SUFFICIENT and OPTIONAL LoginModules did not succeed). If this LoginModule's own authentication attempt succeeded (checked by retrieving the private state saved by the login method), then this method cleans up any state that was originally saved.

true if this method succeeded, or false if this LoginModule should be ignored.