Commit d9286282 authored by chiaming2000's avatar chiaming2000
Browse files

Update Admin Client Javadoc:

Only SSL connections are supported/allowed for admin operations. 
parent cf7bb88d
Loading
Loading
Loading
Loading
+6 −3
Original line number Diff line number Diff line
@@ -26,6 +26,7 @@ import kinetic.client.ClientConfiguration;
 * appropriate configurations. Application then calls
 * {@link KineticAdminClientFactory#createInstance(AdminClientConfiguration)} to
 * create a new instance of {@link KineticAdminClient}
 * </p>
 * 
 * @author James Hughes.
 * @author Chiaming Yang
@@ -47,11 +48,13 @@ public class AdminClientConfiguration extends ClientConfiguration {
    }

    /**
     * Set if using ssl, admin client must use ssl to connect with dirve.
     * Admin client only supports SSL connections. The default port is set to 8123.
     * 
     * @param flag
     *            Support set true, if set false, throw
     *            UnsupportedOperationException.
     *            The admin client only supports SSL. Throws
     *            UnsupportedOperationException if attempted to set to false.
     *            
     * @see ClientConfiguration#getSSLDefaultPort()
     */
    @Override
    public void setUseSsl(boolean flag) {
+4 −1
Original line number Diff line number Diff line
@@ -27,6 +27,9 @@ import kinetic.client.KineticException;
 * <p>
 * Kinetic administrators use this interface to setup kinetic drives. such as
 * set up access control list for the drives.
 * <p>
 * All administrative operations by default use SSL connections to connect to the Drive or Simulator. 
 * And this is the only supported transport for all administrative operations.
 * 
 * @author James Hughes.
 * @author Chiaming Yang