public class InvalidPrincipalException
extends java.lang.SecurityException
InvalidPrincipalException
exception is thrown by a security
provider if the principal that was generated for a user has become invalid.
For example, the InvalidPrincipalException
may be thrown because
the principal has been deleted from the system while there was
an active subject with that principal, or if there is a principal that purports to be
in a given security realm but it is not in that realm.Constructor and Description |
---|
InvalidPrincipalException()
Constructs an
InvalidPrincipalException with no arguments. |
InvalidPrincipalException(java.lang.String s)
Constructs an
InvalidPrincipalException with the specified detail message. |
public InvalidPrincipalException()
InvalidPrincipalException
with no arguments.public InvalidPrincipalException(java.lang.String s)
InvalidPrincipalException
with the specified detail message.
A detail message is a String that describes this particular exception.s
- a String providing additional information about this exception.