Name
LoginException
Synopsis
Signals
that
something went wrong while creating a LoginContext
or during the login or logout process.
The subclasses of this
class represent more specific exception types.
Figure 19-27. javax.security.auth.login.LoginException
public class LoginException extends java.security.GeneralSecurityException { // Public Constructors public LoginException( ); public LoginException(String msg); }
Subclasses
AccountException
,
CredentialException
,
FailedLoginException
Thrown By
java.security.AuthProvider.{login( )
,
logout( )}
, LoginContext.{login(
)
, LoginContext( )
, logout(
)}
, javax.security.auth.spi.LoginModule.{abort(
)
, commit( )
, login(
)
, logout( )}
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.