Class AuthorizationRequiredException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.ametys.runtime.authentication.AuthorizationRequiredException
-
- All Implemented Interfaces:
Serializable
public class AuthorizationRequiredException extends RuntimeException
Exception representing a 401 response- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AuthorizationRequiredException()
ConstructorAuthorizationRequiredException(String realm)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getRealm()
Returns the Realm associated with the credentials to provide-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
AuthorizationRequiredException
public AuthorizationRequiredException()
Constructor
-
AuthorizationRequiredException
public AuthorizationRequiredException(String realm)
Constructor- Parameters:
realm
- the Realm associated with the credentials to provide
-
-