Class AuthorizationRequiredException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.ametys.runtime.authentication.AuthorizationRequiredException
- All Implemented Interfaces:
Serializable
Exception representing a 401 response
- See Also:
-
Constructor Summary
ConstructorDescriptionConstructorConstructor -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
AuthorizationRequiredException
public AuthorizationRequiredException()Constructor -
AuthorizationRequiredException
Constructor- Parameters:
realm
- the Realm associated with the credentials to provide
-
-
Method Details
-
getRealm
Returns the Realm associated with the credentials to provide- Returns:
- the Realm associated with the credentials to provide
-