public static Properties getSecurityProperties(final String file, final String psw) {
        return getSecurityProperties(file, psw, null);
    }
Gets security properties.

@param file the file
@param psw  the psw
@return the security properties
support/cas-server-support-ws-sts-api/src/main/java/org/apereo/cas/support/util/CryptoUtils.java