Spring Security blocking commandButton actions
<p>I'm having some trouble with the Spring Security addition to my project. I've done the initial configuration with the automatic login form and it worked fine. However after I logged in and tried to do some action, I realized that my commandButtons are not working anymore. When I click then, nothing happens. Do I need to do any configuration in this case ?</p>

<p>Here's my applicationContext.xml:</p>

<pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
&lt;beans:beans xmlns="http://www.springframework.org/schema/security"
             xmlns:beans="http://www.springframework.org/schema/beans"
             xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
             xsi:schemaLocation="http://www.springframework.org/schema/beans
           http://www.springframework.org/schema/beans/spring-beans-4.1.xsd
           http://www.springframework.org/schema/security
           http://www.springframework.org/schema/security/spring-security-4.1.xsd"&gt;

    &lt;http pattern="/javax.faces.resource/**" security="none" /&gt;
    &lt;http pattern="/login.xhtml" security="none" /&gt;
    &lt;http pattern="/404.xhtml" security="none" /&gt;
    &lt;http pattern="/error.xhtml" security="none" /&gt;
    &lt;http pattern="/access-denied.xhtml" security="none" /&gt;

    &lt;http auto-config="true"&gt;
        &lt;intercept-url pattern="/**" access="hasAnyRole('ROLE_ADMINISTRADORES')" /&gt;
    &lt;/http&gt;

    &lt;authentication-manager&gt;
        &lt;authentication-provider&gt;
            &lt;user-service&gt;
                &lt;user name="joao" password="123" authorities="ROLE_VENDEDORES" /&gt;
                &lt;user name="jean" password="123" authorities="ROLE_ADMINISTRADORES" /&gt;
            &lt;/user-service&gt;
        &lt;/authentication-provider&gt;
    &lt;/authentication-manager&gt;

&lt;/beans:beans&gt;
</code></pre>

<p>Thank you all!</p>