| | |
| | | * |
| | | * |
| | | * Copyright 2010 Sun Microsystems, Inc. |
| | | * Portions copyright 2011 ForgeRock AS |
| | | * Portions copyright 2011-2012 ForgeRock AS |
| | | */ |
| | | |
| | | package org.forgerock.opendj.ldap.requests; |
| | |
| | | |
| | | import javax.security.auth.Subject; |
| | | |
| | | import org.forgerock.i18n.LocalizedIllegalArgumentException; |
| | | import org.forgerock.i18n.*; |
| | | import org.forgerock.opendj.ldap.DecodeException; |
| | | import org.forgerock.opendj.ldap.DecodeOptions; |
| | | import org.forgerock.opendj.ldap.ErrorResultException; |
| | |
| | | * @throws NullPointerException |
| | | * If {@code name} or {@code value} was {@code null}. |
| | | */ |
| | | GSSAPISASLBindRequest addAdditionalAuthParam(String name, String value) |
| | | throws UnsupportedOperationException, NullPointerException; |
| | | GSSAPISASLBindRequest addAdditionalAuthParam(String name, String value); |
| | | |
| | | |
| | | |
| | |
| | | * {@inheritDoc} |
| | | */ |
| | | @Override |
| | | GSSAPISASLBindRequest addControl(Control control) |
| | | throws UnsupportedOperationException, NullPointerException; |
| | | GSSAPISASLBindRequest addControl(Control control); |
| | | |
| | | |
| | | |
| | |
| | | * @see #QOP_AUTH_INT |
| | | * @see #QOP_AUTH_CONF |
| | | */ |
| | | GSSAPISASLBindRequest addQOP(String... qopValues) |
| | | throws UnsupportedOperationException, NullPointerException; |
| | | GSSAPISASLBindRequest addQOP(String... qopValues); |
| | | |
| | | |
| | | |
| | |
| | | */ |
| | | @Override |
| | | <C extends Control> C getControl(ControlDecoder<C> decoder, |
| | | DecodeOptions options) throws NullPointerException, DecodeException; |
| | | DecodeOptions options) throws DecodeException; |
| | | |
| | | |
| | | |
| | |
| | | * @throws NullPointerException |
| | | * If {@code authenticationID} was {@code null}. |
| | | */ |
| | | GSSAPISASLBindRequest setAuthenticationID(String authenticationID) |
| | | throws LocalizedIllegalArgumentException, NullPointerException; |
| | | GSSAPISASLBindRequest setAuthenticationID(String authenticationID); |
| | | |
| | | |
| | | |
| | |
| | | * If {@code authorizationID} was non-empty and did not contain a |
| | | * valid authorization ID type. |
| | | */ |
| | | GSSAPISASLBindRequest setAuthorizationID(String authorizationID) |
| | | throws LocalizedIllegalArgumentException; |
| | | GSSAPISASLBindRequest setAuthorizationID(String authorizationID); |
| | | |
| | | |
| | | |
| | |
| | | * @throws NullPointerException |
| | | * If {@code address} was {@code null}. |
| | | */ |
| | | GSSAPISASLBindRequest setKDCAddress(String address) |
| | | throws UnsupportedOperationException, NullPointerException; |
| | | GSSAPISASLBindRequest setKDCAddress(String address); |
| | | |
| | | |
| | | |
| | |
| | | * @throws UnsupportedOperationException |
| | | * If this bind request does not permit the buffer size to be set. |
| | | */ |
| | | GSSAPISASLBindRequest setMaxReceiveBufferSize(int size) |
| | | throws UnsupportedOperationException; |
| | | GSSAPISASLBindRequest setMaxReceiveBufferSize(int size); |
| | | |
| | | |
| | | |
| | |
| | | * @throws UnsupportedOperationException |
| | | * If this bind request does not permit the buffer size to be set. |
| | | */ |
| | | GSSAPISASLBindRequest setMaxSendBufferSize(int size) |
| | | throws UnsupportedOperationException; |
| | | GSSAPISASLBindRequest setMaxSendBufferSize(int size); |
| | | |
| | | |
| | | |
| | |
| | | * @throws NullPointerException |
| | | * If {@code password} was {@code null}. |
| | | */ |
| | | GSSAPISASLBindRequest setPassword(byte[] password) |
| | | throws UnsupportedOperationException, NullPointerException; |
| | | GSSAPISASLBindRequest setPassword(byte[] password); |
| | | |
| | | |
| | | |
| | |
| | | * @throws NullPointerException |
| | | * If {@code password} was {@code null}. |
| | | */ |
| | | GSSAPISASLBindRequest setPassword(char[] password) |
| | | throws UnsupportedOperationException, NullPointerException; |
| | | GSSAPISASLBindRequest setPassword(char[] password); |
| | | |
| | | |
| | | |
| | |
| | | * @throws NullPointerException |
| | | * If {@code realm} was {@code null}. |
| | | */ |
| | | GSSAPISASLBindRequest setRealm(String realm) |
| | | throws UnsupportedOperationException, NullPointerException; |
| | | GSSAPISASLBindRequest setRealm(String realm); |
| | | |
| | | |
| | | |
| | |
| | | * @throws UnsupportedOperationException |
| | | * If this bind request does not permit server auth to be set. |
| | | */ |
| | | GSSAPISASLBindRequest setServerAuth(boolean serverAuth) |
| | | throws UnsupportedOperationException; |
| | | GSSAPISASLBindRequest setServerAuth(boolean serverAuth); |
| | | |
| | | |
| | | |
| | |
| | | * @throws NullPointerException |
| | | * If {@code subject} was {@code null}. |
| | | */ |
| | | GSSAPISASLBindRequest setSubject(Subject subject) |
| | | throws UnsupportedOperationException, NullPointerException; |
| | | GSSAPISASLBindRequest setSubject(Subject subject); |
| | | } |