Code example for Properties

Methods: sizeload

     * if one is configured for this filter. 
     * @param filterConfig Servlet filter configuration. 
     * @return Properties that can contains key/trust info for Client Side Certificates 
    protected Properties getSSLConfig(final FilterConfig filterConfig) {
        final Properties properties = new Properties();
        final String fileName = getPropertyFromInitParams(filterConfig, "sslConfigFile", null);
        if (fileName != null) {
            FileInputStream fis = null;
            try { 
                fis = new FileInputStream(fileName);
                logger.trace("Loaded {} entries from {}", properties.size(), fileName);
            } catch (final IOException ioe) {
                logger.error(ioe.getMessage(), ioe);
            } finally { 
Stop searching for code, let great code find you!  Add Codota to your java IDE