Class DbxWebAuth.CsrfException

  • All Implemented Interfaces:
    java.io.Serializable
    Enclosing class:
    DbxWebAuth

    public static final class DbxWebAuth.CsrfException
    extends DbxWebAuth.Exception
    Thrown if the given 'state' parameter doesn't contain the expected CSRF token. This request should be blocked to prevent CSRF attacks.

    IMPORTANT: The exception's message must not be shown the the user, but may be logged.

    The recommended action is to show an HTTP 403 error page.

    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      CsrfException​(java.lang.String message)  
    • Method Summary

      • 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

      • CsrfException

        public CsrfException​(java.lang.String message)