org.xwiki.csrf.internal
Class DefaultCSRFTokenConfiguration

java.lang.Object
  extended by org.xwiki.csrf.internal.DefaultCSRFTokenConfiguration
All Implemented Interfaces:
CSRFTokenConfiguration

@Component
public class DefaultCSRFTokenConfiguration
extends java.lang.Object
implements CSRFTokenConfiguration

Get configuration data from the XWiki properties file. Supported options:

Since:
2.5M2
Version:
$Id$

Constructor Summary
DefaultCSRFTokenConfiguration()
           
 
Method Summary
 boolean isEnabled()
          Check if the CSRF protection is enabled in the configuration.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultCSRFTokenConfiguration

public DefaultCSRFTokenConfiguration()
Method Detail

isEnabled

public boolean isEnabled()
Check if the CSRF protection is enabled in the configuration.

Specified by:
isEnabled in interface CSRFTokenConfiguration
Returns:
true if the component is enabled, false otherwise


Copyright © 2004-2011 XWiki. All Rights Reserved.