How To
Documentation
    Learn More

      security:user-actions

      Description

      User actions tag to log in, log out and navigate home.

      To enable this you need to make sure that your security.conf file contains the line webservice-enabled: true

      Your security.conf file can be found in resources/conf/security/security.conf.

      For spring security you will need the following rule to allow access to the user api, if parts of the site are public.

      <intercept-url pattern="/twigkit/api/user" access="isAnonymous() or isAuthenticated()"/>

      Usage

      as element:
      <security:user-actions>
      </security:user-actions>

      Directive info

      • This directive creates new scope.

      Example

      Source

      
      
      

      Demo