Class UnauthenticatedException

  • All Implemented Interfaces:

    public class UnauthenticatedException
    extends AuthorizationException
    Exception thrown when attempting to execute an authorization action when a successful authentication hasn't yet occurred.

    Authorizations can only be performed after a successful authentication because authorization data (roles, permissions, etc) must always be associated with a known identity. Such a known identity can only be obtained upon a successful log-in.

    Since:
    0.1
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      UnauthenticatedException()
      Creates a new UnauthenticatedException.
       message)
      Constructs a new UnauthenticatedException.
       message,  cause)
      Constructs a new UnauthenticatedException.
       cause)
      Constructs a new UnauthenticatedException.
    • Method Summary

      • Methods inherited from class java.lang.

        , , , , , , , , , , , ,
      • Methods inherited from class java.lang.

        , , , , , , , , ,
    • Constructor Detail

      • UnauthenticatedException

        public UnauthenticatedException()
        Creates a new UnauthenticatedException.
      • UnauthenticatedException

        public UnauthenticatedException​( message)
        Constructs a new UnauthenticatedException.
        Parameters:
        message - the reason for the exception
      • UnauthenticatedException

        public UnauthenticatedException​( cause)
        Constructs a new UnauthenticatedException.
        Parameters:
        cause - the underlying Throwable that caused this exception to be thrown.
      • UnauthenticatedException

        public UnauthenticatedException​( message,
                                         cause)
        Constructs a new UnauthenticatedException.
        Parameters:
        message - the reason for the exception
        cause - the underlying Throwable that caused this exception to be thrown.