| | |
| | | * CDDL HEADER END |
| | | * |
| | | * |
| | | * Copyright 2009 Sun Microsystems, Inc. |
| | | * Copyright 2010 Sun Microsystems, Inc. |
| | | */ |
| | | |
| | | package org.opends.sdk.responses; |
| | |
| | | |
| | | |
| | | /** |
| | | * Creates a new bind result that is an exact copy of the provided |
| | | * result. |
| | | * |
| | | * @param bindResult |
| | | * The bind result to be copied. |
| | | * @throws NullPointerException |
| | | * If {@code bindResult} was {@code null} . |
| | | */ |
| | | BindResultImpl(final BindResult bindResult) |
| | | throws NullPointerException |
| | | { |
| | | super(bindResult); |
| | | this.credentials = bindResult.getServerSASLCredentials(); |
| | | } |
| | | |
| | | |
| | | |
| | | /** |
| | | * {@inheritDoc} |
| | | */ |
| | | public ByteString getServerSASLCredentials() |