| | |
| | | * |
| | | * |
| | | * Copyright 2010 Sun Microsystems, Inc. |
| | | * Portions copyright 2012 ForgeRock AS. |
| | | */ |
| | | |
| | | package org.forgerock.opendj.ldap.responses; |
| | |
| | | * @throws NullPointerException |
| | | * If {@code resultCode} was {@code null}. |
| | | */ |
| | | BindResultImpl(final ResultCode resultCode) throws NullPointerException |
| | | BindResultImpl(final ResultCode resultCode) |
| | | { |
| | | super(resultCode); |
| | | } |
| | |
| | | * If {@code bindResult} was {@code null} . |
| | | */ |
| | | BindResultImpl(final BindResult bindResult) |
| | | throws NullPointerException |
| | | { |
| | | super(bindResult); |
| | | this.credentials = bindResult.getServerSASLCredentials(); |
| | |
| | | * {@inheritDoc} |
| | | */ |
| | | public BindResult setServerSASLCredentials(final ByteString credentials) |
| | | throws UnsupportedOperationException |
| | | { |
| | | this.credentials = credentials; |
| | | return this; |