Class CsrfProtectionModule

java.lang.Object
at.porscheinformatik.tapestry.csrfprotection.services.CsrfProtectionModule

public class CsrfProtectionModule extends Object
IoC module for Tapestry CSRF Protection. CHECKSTYLE:OFF
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    addCsrfFilter(org.apache.tapestry5.commons.OrderedConfiguration<org.apache.tapestry5.services.ComponentEventRequestFilter> configuration)
     
    static void
    bind(org.apache.tapestry5.ioc.ServiceBinder binder)
     
    buildCsrfTokenRepository(org.apache.tapestry5.commons.ObjectLocator objectLocator)
     
    static void
    contributeComponentClassResolver(org.apache.tapestry5.commons.Configuration<org.apache.tapestry5.services.LibraryMapping> configuration)
     
    static void
    contributeFactoryDefaults(org.apache.tapestry5.commons.MappedConfiguration<String,Object> configuration)
     
    static org.apache.tapestry5.services.linktransform.LinkTransformer
    decorateLinkTransformer(Class<org.apache.tapestry5.services.linktransform.LinkTransformer> serviceInterface, org.apache.tapestry5.services.linktransform.LinkTransformer delegate, String serviceId, org.apache.tapestry5.services.linktransform.ComponentEventLinkTransformer csrfComponentEventLinkTransformer)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • CsrfProtectionModule

      public CsrfProtectionModule()
  • Method Details

    • bind

      public static void bind(org.apache.tapestry5.ioc.ServiceBinder binder)
    • contributeComponentClassResolver

      public static void contributeComponentClassResolver(org.apache.tapestry5.commons.Configuration<org.apache.tapestry5.services.LibraryMapping> configuration)
    • buildCsrfTokenRepository

      public static CsrfTokenRepository buildCsrfTokenRepository(org.apache.tapestry5.commons.ObjectLocator objectLocator)
    • decorateLinkTransformer

      @Decorate(serviceInterface=org.apache.tapestry5.services.linktransform.LinkTransformer.class) @Match("LinkTransformer") public static org.apache.tapestry5.services.linktransform.LinkTransformer decorateLinkTransformer(Class<org.apache.tapestry5.services.linktransform.LinkTransformer> serviceInterface, org.apache.tapestry5.services.linktransform.LinkTransformer delegate, String serviceId, @Local org.apache.tapestry5.services.linktransform.ComponentEventLinkTransformer csrfComponentEventLinkTransformer)
    • addCsrfFilter

      @Contribute(org.apache.tapestry5.services.ComponentEventRequestHandler.class) public static void addCsrfFilter(org.apache.tapestry5.commons.OrderedConfiguration<org.apache.tapestry5.services.ComponentEventRequestFilter> configuration)
    • contributeFactoryDefaults

      public static void contributeFactoryDefaults(org.apache.tapestry5.commons.MappedConfiguration<String,Object> configuration)