Class AuthenticationException

  • All Implemented Interfaces:
    java.io.Serializable

    public class AuthenticationException
    extends RestResponseException
    Exception thrown then authentication fails.
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getAuthenticationHeader()  
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • AuthenticationException

        public AuthenticationException​(java.util.Optional<java.lang.String> authenticationHeader)
        Parameters:
        authenticationHeader - Authentication header which will be sent to the client.
    • Method Detail

      • getAuthenticationHeader

        public java.lang.String getAuthenticationHeader()