|  | @@ -40,6 +40,12 @@ public class DefaultInitialDirContextFactoryTests extends AbstractLdapServerTest
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |      }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | +    public void testSecureLdapUrlIsSupported() {
 | 
	
		
			
				|  |  | +        idf = new DefaultInitialDirContextFactory("ldaps://localhost/dc=acegisecurity,dc=org");
 | 
	
		
			
				|  |  | +        assertEquals("dc=acegisecurity,dc=org", idf.getRootDn());
 | 
	
		
			
				|  |  | +    }
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  |      public void testConnectionFailure() throws Exception {
 | 
	
		
			
				|  |  |          // Use the wrong port
 | 
	
		
			
				|  |  |          idf = new DefaultInitialDirContextFactory("ldap://localhost:60389");
 |