APIdia Launch Partner
Top Description Fields Constructors
javax.security.auth.login

public Class CredentialExpiredException

extends CredentialException
Class Inheritance

Signals that a Credential has expired.

This exception is thrown by LoginModules when they determine that a Credential has expired. For example, a LoginModule authenticating a user in its login method may determine that the user's password, although entered correctly, has expired. In this case the LoginModule throws this exception to notify the application. The application can then take the appropriate steps to assist the user in updating the password.

Since
1.4

Field Summary

Modifier and TypeField and Description
private static final long

Constructor Summary

AccessConstructor and Description
public
CredentialExpiredException()

Constructs a CredentialExpiredException with no detail message.

public
CredentialExpiredException(String
the detail message.
msg
)

Constructs a CredentialExpiredException with the specified detail message.

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Hides javax.security.auth.login.CredentialException.serialVersionUID.

Annotations
@Serial

Constructor Detail

CredentialExpiredExceptionback to summary
public CredentialExpiredException()

Constructs a CredentialExpiredException with no detail message. A detail message is a String that describes this particular exception.

CredentialExpiredExceptionback to summary
public CredentialExpiredException(String msg)

Constructs a CredentialExpiredException with the specified detail message. A detail message is a String that describes this particular exception.

Parameters
msg:String

the detail message.