public void applySecuritySettings(SignJar signJar) throws IOException { validateForSigning(); signJar.setKeystore(keystore.getAbsolutePath());  Properties securityProps = loadPassFile(); signJar.setStorepass(securityProps.getProperty(SmartFrogJVMProperties.KEYSTORE_PASSWORD)); signJar.setAlias(getAlias());
public void applySecuritySettings(SmartFrogTask task) { validate(); task.addJVMProperty(SmartFrogJVMProperties.KEYSTORE_NAME, keystore.getAbsolutePath()); task.addSmartfrogPropertyIfDefined(SmartFrogJVMProperties.KEYSTORE_PROPFILE, securityProperties); task.defineJVMArg("-Djava.security.manager");  if (policyFile != null) { task.defineJVMArg("-Djava.security.policy==" + policyFile.getAbsolutePath()); }
    public void applySecuritySettings(SignJar signJar) throws IOException {        validateForSigning();        signJar.setKeystore(keystore.getAbsolutePath());        //get the pass in.        Properties securityProps = loadPassFile();        signJar.setStorepass(securityProps.getProperty(SmartFrogJVMProperties.KEYSTORE_PASSWORD));        signJar.setAlias(getAlias());    }