Step 3: Implement the Abstract LoginModule
Methods
The LoginModule
interface specifies five abstract
methods that require implementations:
See the following sections and the LoginModule
API
for more information on each of these methods.
In addition to these methods, a LoginModule
implementation
must provide a public constructor with no arguments. This allows for
its proper instantiation by a LoginContext
. Note
that if no such constructor is provided in your LoginModule
implementation,
a default no-argument constructor is automatically inherited from
the Object
class.