code: public static Properties getSecurityProperties(final String file, final String psw) {
          return getSecurityProperties(file, psw, null);
      }
docs: Gets security properties.
  
  @param file the file
  @param psw  the psw
  @return the security properties