Package org.apache.wicket.markup.html

Examples of org.apache.wicket.markup.html.SecurePackageResourceGuard$SimpleCache


      @Override
      protected void init()
      {
        super.init();

        SecurePackageResourceGuard guard = (SecurePackageResourceGuard) getResourceSettings().getPackageResourceGuard();
        guard.addPattern("+*.less");
      }

      /**
       * Register custom ResourceReferenceRegistry that creates LessResourceReference
       * for requests with .less extension
View Full Code Here


  private void setupBookmarks() {
    mountPage("/ced", MainPage.class);
  }

  private void setupSecurity() {
    SecurePackageResourceGuard guard = (SecurePackageResourceGuard) getResourceSettings().getPackageResourceGuard();
    guard.addPattern("+*.map");
  }
 
View Full Code Here

  {
    getDebugSettings().setDevelopmentUtilitiesEnabled(true);
    IPackageResourceGuard packageResourceGuard = getResourceSettings().getPackageResourceGuard();
    if (packageResourceGuard instanceof SecurePackageResourceGuard)
    {
      SecurePackageResourceGuard guard = (SecurePackageResourceGuard)packageResourceGuard;
      // allow velocity macros resources
      guard.addPattern("+*.vm");
    }
    // initialize velocity
    try
    {
      Velocity.init();
View Full Code Here

  {
    getDebugSettings().setDevelopmentUtilitiesEnabled(true);
    IPackageResourceGuard packageResourceGuard = getResourceSettings().getPackageResourceGuard();
    if (packageResourceGuard instanceof SecurePackageResourceGuard)
    {
      SecurePackageResourceGuard guard = (SecurePackageResourceGuard) packageResourceGuard;
      // allow velocity macros resources
      guard.addPattern("+*.vm");
    }

    // initialize velocity
    try
    {
View Full Code Here

      @Override
      protected void init()
      {
        super.init();

        SecurePackageResourceGuard guard = (SecurePackageResourceGuard) getResourceSettings().getPackageResourceGuard();
        guard.addPattern("+*.less");
      }
    };
  }
 
View Full Code Here

    });

    IPackageResourceGuard guard = getResourceSettings().getPackageResourceGuard();
    if (guard instanceof SecurePackageResourceGuard)
    {
      SecurePackageResourceGuard secureGuard = (SecurePackageResourceGuard) guard;
      secureGuard.addPattern("+org/apache/wicket/merged-resources");
    }
  }
View Full Code Here

    // Resource Package Guard security settings to fix .htm file problem
    IPackageResourceGuard packageResourceGuard = application.getResourceSettings().getPackageResourceGuard();
    if (packageResourceGuard instanceof SecurePackageResourceGuard)
    {
      SecurePackageResourceGuard guard = (SecurePackageResourceGuard) packageResourceGuard;
      guard.addPattern("+wicket/contrib/tinymce/tiny_mce/**/*.htm");
    }
  }
 
View Full Code Here

    // Resource Package Guard security settings to fix .htm file problem
    IPackageResourceGuard packageResourceGuard = application.getResourceSettings().getPackageResourceGuard();
    if (packageResourceGuard instanceof SecurePackageResourceGuard)
    {
      SecurePackageResourceGuard guard = (SecurePackageResourceGuard) packageResourceGuard;
      guard.addPattern("+wicket/contrib/tinymce/tiny_mce/**/*.htm");
    }
  }
 
View Full Code Here

    super.init();

        IPackageResourceGuard packageResourceGuard = getResourceSettings().getPackageResourceGuard();
        if (packageResourceGuard instanceof SecurePackageResourceGuard)
        {
            SecurePackageResourceGuard secureGuard = (SecurePackageResourceGuard) packageResourceGuard;
            secureGuard.addPattern("+*.map");
        }

        // if (Application.DEVELOPMENT.equals(getConfigurationType())) {
// getDebugSettings().setOutputMarkupContainerClassName(true);
// }
View Full Code Here

TOP

Related Classes of org.apache.wicket.markup.html.SecurePackageResourceGuard$SimpleCache

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.