Package org.apache.wicket.markup.html

Examples of org.apache.wicket.markup.html.SecurePackageResourceGuard.addPattern()


    // 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");
    }
  }

  public void destroy(Application application)
  {
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");
    }
  }

  public void destroy(Application application)
  {
View Full Code Here

        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
Copyright © 2018 www.massapi.com. 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.