| | |
| | | * CDDL HEADER END |
| | | * |
| | | * |
| | | * Portions Copyright 2006 Sun Microsystems, Inc. |
| | | * Portions Copyright 2006-2007 Sun Microsystems, Inc. |
| | | */ |
| | | package org.opends.server.extensions; |
| | | |
| | | |
| | | |
| | | import static org.opends.server.loggers.Debug.*; |
| | | |
| | | |
| | | |
| | | /** |
| | | * This class defines a data structure that will hold state information for use |
| | | * in the DIGEST-MD5 authentication process. This information will support both |
| | |
| | | */ |
| | | public class DigestMD5StateInfo |
| | | { |
| | | /** |
| | | * The fully-qualified name of this class for debugging purposes. |
| | | */ |
| | | private static final String CLASS_NAME = |
| | | "org.opends.server.extensions.DigestMD5StateInfo"; |
| | | |
| | | |
| | | |
| | |
| | | */ |
| | | public DigestMD5StateInfo(String nonce, String nonceCount) |
| | | { |
| | | assert debugConstructor(CLASS_NAME, String.valueOf(nonce), |
| | | String.valueOf(nonceCount)); |
| | | |
| | | this.nonce = nonce; |
| | | this.nonceCount = nonceCount; |
| | |
| | | */ |
| | | public String getNonce() |
| | | { |
| | | assert debugEnter(CLASS_NAME, "getNonce"); |
| | | |
| | | return nonce; |
| | | } |
| | |
| | | */ |
| | | public String getNonceCount() |
| | | { |
| | | assert debugEnter(CLASS_NAME, "getNonceCount"); |
| | | |
| | | return nonceCount; |
| | | } |
| | |
| | | */ |
| | | public void setNonceCount(String nonceCount) |
| | | { |
| | | assert debugEnter(CLASS_NAME, "setNonceCount", String.valueOf(nonceCount)); |
| | | |
| | | this.nonceCount = nonceCount; |
| | | } |