Package net.officefloor.web.security
Class AuthenticationRequiredException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
net.officefloor.web.security.AuthenticationRequiredException
- All Implemented Interfaces:
Serializable
Escalation indicating authentication is required.
This may be thrown by any functionality as the WebArchitect is
expected to catch this Escalation at the Office level and
issue a challenge to the client.
- Author:
- Daniel Sagenschneider
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionInitiate for anyHttpSecurity.AuthenticationRequiredException(String requiredHttpSecurityName) Initiate for a specificHttpSecurity. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
AuthenticationRequiredException
public AuthenticationRequiredException()Initiate for anyHttpSecurity. -
AuthenticationRequiredException
Initiate for a specificHttpSecurity.- Parameters:
requiredHttpSecurityName- Name of the specificHttpSecurityrequired. May benullto indicate any configuredHttpSecurity.
-
-
Method Details
-
getRequiredHttpSecurityName
Obtains the requiredHttpSecurityname.- Returns:
- Required
HttpSecurityname ornullif anyHttpSecurity.
-