| | |
| | | * CDDL HEADER END |
| | | * |
| | | * |
| | | * Copyright 2009 Sun Microsystems, Inc. |
| | | * Copyright 2010 Sun Microsystems, Inc. |
| | | */ |
| | | |
| | | package org.opends.sdk.requests; |
| | |
| | | |
| | | |
| | | |
| | | /** |
| | | * Creates a new plain SASL bind request that is an exact copy of the |
| | | * provided request. |
| | | * |
| | | * @param plainSASLBindRequest |
| | | * The plain SASL bind request to be copied. |
| | | * @throws NullPointerException |
| | | * If {@code plainSASLBindRequest} was {@code null} . |
| | | */ |
| | | PlainSASLBindRequestImpl( |
| | | final PlainSASLBindRequest plainSASLBindRequest) |
| | | throws NullPointerException |
| | | { |
| | | super(plainSASLBindRequest); |
| | | this.authenticationID = plainSASLBindRequest.getAuthenticationID(); |
| | | this.authorizationID = plainSASLBindRequest.getAuthorizationID(); |
| | | this.password = plainSASLBindRequest.getPassword(); |
| | | } |
| | | |
| | | |
| | | |
| | | public BindClient createBindClient(final String serverName) |
| | | throws ErrorResultException |
| | | { |