Simple fix OPENDJ-933: BindRequest#toString is too chatty
* remove passwords from toString() representation of bind and password modify requests.
| | |
| | | * |
| | | * |
| | | * Copyright 2010 Sun Microsystems, Inc. |
| | | * Portions copyright 2011-2012 ForgeRock AS |
| | | * Portions copyright 2011-2013 ForgeRock AS |
| | | */ |
| | | |
| | | package org.forgerock.opendj.ldap.requests; |
| | |
| | | builder.append(getSASLMechanism()); |
| | | builder.append(", authenticationID="); |
| | | builder.append(authenticationID); |
| | | builder.append(", password="); |
| | | builder.append(ByteString.wrap(password)); |
| | | builder.append(", controls="); |
| | | builder.append(getControls()); |
| | | builder.append(")"); |
| | |
| | | * |
| | | * |
| | | * Copyright 2010 Sun Microsystems, Inc. |
| | | * Portions copyright 2011-2012 ForgeRock AS |
| | | * Portions copyright 2011-2013 ForgeRock AS |
| | | */ |
| | | |
| | | package org.forgerock.opendj.ldap.requests; |
| | |
| | | builder.append(authorizationID); |
| | | builder.append(", realm="); |
| | | builder.append(realm); |
| | | builder.append(", password="); |
| | | builder.append(ByteString.wrap(password)); |
| | | builder.append(", controls="); |
| | | builder.append(getControls()); |
| | | builder.append(")"); |
| | |
| | | * |
| | | * |
| | | * Copyright 2010 Sun Microsystems, Inc. |
| | | * Portions copyright 2011-2012 ForgeRock AS |
| | | * Portions copyright 2011-2013 ForgeRock AS |
| | | */ |
| | | |
| | | package org.forgerock.opendj.ldap.requests; |
| | |
| | | builder.append(authorizationID); |
| | | builder.append(", realm="); |
| | | builder.append(realm); |
| | | builder.append(", password="); |
| | | builder.append(ByteString.wrap(password)); |
| | | } |
| | | builder.append(", controls="); |
| | | builder.append(getControls()); |
| | |
| | | * |
| | | * |
| | | * Copyright 2010 Sun Microsystems, Inc. |
| | | * Portions copyright 2012 ForgeRock AS. |
| | | * Portions copyright 2012-2013 ForgeRock AS. |
| | | */ |
| | | |
| | | package org.forgerock.opendj.ldap.requests; |
| | |
| | | builder.append(getOID()); |
| | | builder.append(", userIdentity="); |
| | | builder.append(userIdentity); |
| | | builder.append(", oldPassword="); |
| | | builder.append(oldPassword); |
| | | builder.append(", newPassword="); |
| | | builder.append(newPassword); |
| | | builder.append(", controls="); |
| | | builder.append(getControls()); |
| | | builder.append(")"); |
| | |
| | | * |
| | | * |
| | | * Copyright 2010 Sun Microsystems, Inc. |
| | | * Portions copyright 2011-2012 ForgeRock AS |
| | | * Portions copyright 2011-2013 ForgeRock AS |
| | | */ |
| | | |
| | | package org.forgerock.opendj.ldap.requests; |
| | |
| | | builder.append(authenticationID); |
| | | builder.append(", authorizationID="); |
| | | builder.append(authorizationID); |
| | | builder.append(", password="); |
| | | builder.append(ByteString.wrap(password)); |
| | | builder.append(", controls="); |
| | | builder.append(getControls()); |
| | | builder.append(")"); |
| | |
| | | * |
| | | * |
| | | * Copyright 2010 Sun Microsystems, Inc. |
| | | * Portions copyright 2011-2012 ForgeRock AS |
| | | * Portions copyright 2011-2013 ForgeRock AS |
| | | */ |
| | | |
| | | package org.forgerock.opendj.ldap.requests; |
| | | |
| | | import static com.forgerock.opendj.ldap.LDAPConstants.TYPE_AUTHENTICATION_SIMPLE; |
| | | |
| | | import org.forgerock.opendj.ldap.ByteString; |
| | | import org.forgerock.opendj.ldap.ErrorResultException; |
| | | |
| | | import com.forgerock.opendj.util.StaticUtils; |
| | |
| | | builder.append("SimpleBindRequest(name="); |
| | | builder.append(getName()); |
| | | builder.append(", authentication=simple"); |
| | | builder.append(", password="); |
| | | builder.append(ByteString.wrap(getPassword())); |
| | | builder.append(", controls="); |
| | | builder.append(getControls()); |
| | | builder.append(")"); |