commit() method

Override commit method in the super class as it only adds the credentials if login succeeded in this provider.

Syntax

boolean commit () throws LoginException

Returns

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

Usage

This provider needs to add the credentials even though login returns false.

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