@@ -54,14 +54,14 @@ public LdapContext createBindContext(final String providerUrl, Long domainId) th
5454 return createInitialDirContext (bindPrincipal , bindPassword , providerUrl , true , domainId );
5555 }
5656
57- private LdapContext createInitialDirContext (final String principal , final String password , final boolean isSystemContext , Long domainId ) throws NamingException , IOException {
57+ private LdapContext createInitialDirContext (final String principal , final String password , final boolean isSystemContext , Long domainId ) throws NamingException {
5858 return createInitialDirContext (principal , password , null , isSystemContext , domainId );
5959 }
6060
6161 private LdapContext createInitialDirContext (final String principal , final String password , final String providerUrl , final boolean isSystemContext , Long domainId )
62- throws NamingException , IOException {
62+ throws NamingException {
6363 Hashtable <String , String > environment = getEnvironment (principal , password , providerUrl , isSystemContext , domainId );
64- logger .debug ("initializing ldap with provider url: " + environment .get (Context .PROVIDER_URL ));
64+ logger .debug ("initializing ldap with provider url: {}" , environment .get (Context .PROVIDER_URL ));
6565 return new InitialLdapContext (environment , null );
6666 }
6767
@@ -103,7 +103,7 @@ private boolean validateTrustStore(String trustStore, String trustStorePassword)
103103 );
104104 return true ;
105105 } catch (Exception e ) {
106- s_logger .warn ("Failed to validate truststore: " + e .getMessage ());
106+ logger .warn ("Failed to validate truststore: {}" , e .getMessage ());
107107 return false ;
108108 }
109109 }
0 commit comments