Package com.dropbox.core
Class DbxWebAuth.CsrfException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.dropbox.core.DbxWebAuth.Exception
-
- com.dropbox.core.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)
-