public synchronized SSLConfig getSSLConfig ( String alias ) throws IllegalArgumentException { if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) Tr . entry ( tc , "getSSLConfig: " + alias ) ; SSLConfig rc = null ; if ( alias == null || alias . equals ( "" ) ) { rc = getDefaultSSLConfig ( ) ; } else { // sslConfigMap is not yet populated!!! rc = sslConfigMap . get ( alias ) ; } if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) Tr . exit ( tc , "getSSLConfig" , rc ) ; return rc ; }
Finds an SSLConfig from the Map given an alias .