Class AuthenticationRequiredException

  • All Implemented Interfaces:
    java.io.Serializable

    public class AuthenticationRequiredException
    extends java.lang.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:
    Serialized Form
    • Constructor Detail

      • AuthenticationRequiredException

        public AuthenticationRequiredException()
        Initiate for any HttpSecurity.
      • AuthenticationRequiredException

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

      • getRequiredHttpSecurityName

        public java.lang.String getRequiredHttpSecurityName()
        Obtains the required HttpSecurity name.
        Returns:
        Required HttpSecurity name or null if any HttpSecurity.