Package org.apache.directory.server.protocol.shared.transport

Examples of org.apache.directory.server.protocol.shared.transport.Transport.enableSSL()


   }
  
  
   public void addLdaps(final String keystorePath, final String keystorePasswd) throws Exception {
      Transport ldaps = new TcpTransport(LDAPS_PORT);
      ldaps.enableSSL(true);
      ldapServer.addTransports(ldaps);
      ldapServer.setKeystoreFile(keystorePath);
      ldapServer.setCertificatePassword(keystorePasswd);
   }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.