Name

FailedLoginException

Synopsis

Signals that login failed. Typically this is because an incorrect username, password, or other information was presented. Login modules that throw this exception may provide human-readable details through the getMessage( ) method.

javax.security.auth.login.FailedLoginException

Figure 19-26. javax.security.auth.login.FailedLoginException

public class FailedLoginException extends LoginException {
// Public Constructors
     public FailedLoginException( );  
     public FailedLoginException(String msg);  
}

Get Java in a Nutshell, 5th Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.