public static void clearSSLContextCache ( Collection < File > modifiedFiles ) { if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isDebugEnabled ( ) ) Tr . debug ( tc , "Clearing standard javax.net.ssl.SSLContext cached object containing keystores: " + new Object [ ] { modifiedFiles } ) ; for ( File modifiedKeystoreFile : modifiedFiles ) { String filePath = null ; try { filePath = modifiedKeystoreFile . getCanonicalPath ( ) ; } catch ( IOException e ) { if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isDebugEnabled ( ) ) Tr . debug ( tc , "Exception comparing file path." ) ; continue ; } removeEntryFromSSLContextMap ( filePath ) ; } }
Clear the contents of the SSLContext cache if it uses the files passed in