| | |
| | | |
| | | |
| | | |
| | | import static com.sun.opends.sdk.messages.Messages.INFO_SASL_UNSUPPORTED_CALLBACK; |
| | | import static org.opends.sdk.CoreMessages.INFO_SASL_UNSUPPORTED_CALLBACK; |
| | | |
| | | import java.io.IOException; |
| | | |
| | |
| | | } |
| | | else |
| | | { |
| | | final org.opends.sdk.LocalizableMessage message = INFO_SASL_UNSUPPORTED_CALLBACK |
| | | final org.forgerock.i18n.LocalizableMessage message = INFO_SASL_UNSUPPORTED_CALLBACK |
| | | .get(saslMechanism, String.valueOf(callback)); |
| | | throw new UnsupportedCallbackException(callback, message.toString()); |
| | | } |
| | |
| | | void handle(final AuthorizeCallback callback) |
| | | throws UnsupportedCallbackException |
| | | { |
| | | final org.opends.sdk.LocalizableMessage message = INFO_SASL_UNSUPPORTED_CALLBACK |
| | | final org.forgerock.i18n.LocalizableMessage message = INFO_SASL_UNSUPPORTED_CALLBACK |
| | | .get(saslMechanism, String.valueOf(callback)); |
| | | throw new UnsupportedCallbackException(callback, message.toString()); |
| | | } |
| | |
| | | void handle(final ChoiceCallback callback) |
| | | throws UnsupportedCallbackException |
| | | { |
| | | final org.opends.sdk.LocalizableMessage message = INFO_SASL_UNSUPPORTED_CALLBACK |
| | | final org.forgerock.i18n.LocalizableMessage message = INFO_SASL_UNSUPPORTED_CALLBACK |
| | | .get(saslMechanism, String.valueOf(callback)); |
| | | throw new UnsupportedCallbackException(callback, message.toString()); |
| | | } |
| | |
| | | void handle(final ConfirmationCallback callback) |
| | | throws UnsupportedCallbackException |
| | | { |
| | | final org.opends.sdk.LocalizableMessage message = INFO_SASL_UNSUPPORTED_CALLBACK |
| | | final org.forgerock.i18n.LocalizableMessage message = INFO_SASL_UNSUPPORTED_CALLBACK |
| | | .get(saslMechanism, String.valueOf(callback)); |
| | | throw new UnsupportedCallbackException(callback, message.toString()); |
| | | } |
| | |
| | | void handle(final LanguageCallback callback) |
| | | throws UnsupportedCallbackException |
| | | { |
| | | final org.opends.sdk.LocalizableMessage message = INFO_SASL_UNSUPPORTED_CALLBACK |
| | | final org.forgerock.i18n.LocalizableMessage message = INFO_SASL_UNSUPPORTED_CALLBACK |
| | | .get(saslMechanism, String.valueOf(callback)); |
| | | throw new UnsupportedCallbackException(callback, message.toString()); |
| | | } |
| | |
| | | |
| | | void handle(final NameCallback callback) throws UnsupportedCallbackException |
| | | { |
| | | final org.opends.sdk.LocalizableMessage message = INFO_SASL_UNSUPPORTED_CALLBACK |
| | | final org.forgerock.i18n.LocalizableMessage message = INFO_SASL_UNSUPPORTED_CALLBACK |
| | | .get(saslMechanism, String.valueOf(callback)); |
| | | throw new UnsupportedCallbackException(callback, message.toString()); |
| | | } |
| | |
| | | void handle(final PasswordCallback callback) |
| | | throws UnsupportedCallbackException |
| | | { |
| | | final org.opends.sdk.LocalizableMessage message = INFO_SASL_UNSUPPORTED_CALLBACK |
| | | final org.forgerock.i18n.LocalizableMessage message = INFO_SASL_UNSUPPORTED_CALLBACK |
| | | .get(saslMechanism, String.valueOf(callback)); |
| | | throw new UnsupportedCallbackException(callback, message.toString()); |
| | | } |
| | |
| | | |
| | | void handle(final RealmCallback callback) throws UnsupportedCallbackException |
| | | { |
| | | final org.opends.sdk.LocalizableMessage message = INFO_SASL_UNSUPPORTED_CALLBACK |
| | | final org.forgerock.i18n.LocalizableMessage message = INFO_SASL_UNSUPPORTED_CALLBACK |
| | | .get(saslMechanism, String.valueOf(callback)); |
| | | throw new UnsupportedCallbackException(callback, message.toString()); |
| | | } |
| | |
| | | void handle(final RealmChoiceCallback callback) |
| | | throws UnsupportedCallbackException |
| | | { |
| | | final org.opends.sdk.LocalizableMessage message = INFO_SASL_UNSUPPORTED_CALLBACK |
| | | final org.forgerock.i18n.LocalizableMessage message = INFO_SASL_UNSUPPORTED_CALLBACK |
| | | .get(saslMechanism, String.valueOf(callback)); |
| | | throw new UnsupportedCallbackException(callback, message.toString()); |
| | | } |
| | |
| | | void handle(final TextInputCallback callback) |
| | | throws UnsupportedCallbackException |
| | | { |
| | | final org.opends.sdk.LocalizableMessage message = INFO_SASL_UNSUPPORTED_CALLBACK |
| | | final org.forgerock.i18n.LocalizableMessage message = INFO_SASL_UNSUPPORTED_CALLBACK |
| | | .get(saslMechanism, String.valueOf(callback)); |
| | | throw new UnsupportedCallbackException(callback, message.toString()); |
| | | } |
| | |
| | | void handle(final TextOutputCallback callback) |
| | | throws UnsupportedCallbackException |
| | | { |
| | | final org.opends.sdk.LocalizableMessage message = INFO_SASL_UNSUPPORTED_CALLBACK |
| | | final org.forgerock.i18n.LocalizableMessage message = INFO_SASL_UNSUPPORTED_CALLBACK |
| | | .get(saslMechanism, String.valueOf(callback)); |
| | | throw new UnsupportedCallbackException(callback, message.toString()); |
| | | } |