Class AuthenticationRequiredException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
net.officefloor.web.security.AuthenticationRequiredException
All Implemented Interfaces:
Serializable

public class AuthenticationRequiredException extends RuntimeException

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 Details

    • AuthenticationRequiredException

      public AuthenticationRequiredException()
      Initiate for any HttpSecurity.
    • AuthenticationRequiredException

      public AuthenticationRequiredException(String requiredHttpSecurityName)
      Initiate for a specific HttpSecurity.
      Parameters:
      requiredHttpSecurityName - Name of the specific HttpSecurity required. May be null to indicate any configured HttpSecurity.
  • Method Details