Class GetWarFileFingerprint

All Implemented Interfaces:
Servlet, ServletConfig, Serializable

public class GetWarFileFingerprint extends HttpServlet
Gets the WAR file SHA-256 fingerprint. This is used to verify the final deployed artifact matches the expected content.

Find the WAR file based on the path the application is deployed to. Uses ServletContext.getRealPath("/") then appends ".war". This might be specific to Tomcat installations, and should not be assumed to apply generally.

See Also: