public class UnauthenticatedException extends AuthorizationException
Authorizations can only be performed after a successful authentication because authorization data (roles, permissions, etc) must always be associated with a known identity. Such a known identity can only be obtained upon a successful log-in.
Constructor and Description |
---|
UnauthenticatedException()
Creates a new UnauthenticatedException.
|
UnauthenticatedException(String message)
Constructs a new UnauthenticatedException.
|
UnauthenticatedException(String message,
Throwable cause)
Constructs a new UnauthenticatedException.
|
UnauthenticatedException(Throwable cause)
Constructs a new UnauthenticatedException.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public UnauthenticatedException()
public UnauthenticatedException(String message)
message
- the reason for the exceptionpublic UnauthenticatedException(Throwable cause)
cause
- the underlying Throwable that caused this exception to be thrown.Copyright © 2004–2019 The Apache Software Foundation. All rights reserved.