Package org.xwiki.csrf
Interface CSRFTokenConfiguration
@Role
public interface CSRFTokenConfiguration
Provides configuration for the
CSRFToken
component.- Since:
- 2.5M2
- Version:
- $Id: 2111a12fb429705f06df878d4a523ea48d133913 $
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Check if the CSRF protection is enabled in the configuration.
-
Method Details
-
isEnabled
boolean isEnabled()Check if the CSRF protection is enabled in the configuration.- Returns:
- true if the component is enabled, false otherwise
-