commit | cbbec8919ff2951eee0c5506afd7cfeaccfcc0df | [log] [tgz] |
---|---|---|
author | Bertrand Delacretaz <bdelacretaz@apache.org> | Fri Jul 30 10:45:20 2021 +0200 |
committer | Bertrand Delacretaz <bdelacretaz@apache.org> | Fri Jul 30 10:45:20 2021 +0200 |
tree | 03bc813426510d8ec446c48392b1fad3d5ccdf38 | |
parent | 10ebf59ecba48a3397f7d1e5e6906262c3e8c04f [diff] |
SLING-10676 - remove SECURITY.md which is not needed
This module is part of the Apache Sling project.
This module implements a script engine for java servlets, that are compiled on the fly by Sling.
To test it:
mvn -P autoInstallBundle clean install -Dsling.url=http://localhost:8080/system/console
If Sling is running with the launchpad/testing setup.
package apps.foo;
import java.io.IOException; import javax.servlet.ServletException; import org.apache.sling.api.SlingHttpServletRequest; import org.apache.sling.api.SlingHttpServletResponse; import org.apache.sling.api.servlets.SlingSafeMethodsServlet;
public class foo extends SlingSafeMethodsServlet {
protected void doGet(SlingHttpServletRequest request, SlingHttpServletResponse response) throws ServletException, IOException { response.setContentType("text/plain"); response.getWriter().write("Response from " + getClass().getName() + " at " + new java.util.Date()); }
}
Response from apps.foo.foo at Tue Nov 18 14:49:14 CET 2008