org.opends.server.extensions
Class DigestMD5StateInfo

java.lang.Object
  extended by org.opends.server.extensions.DigestMD5StateInfo

public class DigestMD5StateInfo
extends java.lang.Object

This class defines a data structure that will hold state information for use in the DIGEST-MD5 authentication process. This information will support both the two-stage initial authentication as well as subsequent authentication.


Constructor Summary
DigestMD5StateInfo(java.lang.String nonce, java.lang.String nonceCount)
          Creates a new instance of this DIGEST-MD5 state info structure.
 
Method Summary
 java.lang.String getNonce()
          Retrieves the nonce generated by the server for this authentication session.
 java.lang.String getNonceCount()
          Retrieves the hex string representation of the nonce count used by the last successful authentication.
 void setNonceCount(java.lang.String nonceCount)
          Specifies the hex string representation of the nonce count used by the last successful authentication.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DigestMD5StateInfo

public DigestMD5StateInfo(java.lang.String nonce,
                          java.lang.String nonceCount)
Creates a new instance of this DIGEST-MD5 state info structure.

Parameters:
nonce - The nonce generated by the server for this authentication session.
nonceCount - The hex string representation of the nonce count used by the last successful authentication.
Method Detail

getNonce

public java.lang.String getNonce()
Retrieves the nonce generated by the server for this authentication session.

Returns:
The nonce generated by the server for this authentication session.

getNonceCount

public java.lang.String getNonceCount()
Retrieves the hex string representation of the nonce count used by the last successful authentication.

Returns:
The hex string representation of the nonce count used by the last successful authentication.

setNonceCount

public void setNonceCount(java.lang.String nonceCount)
Specifies the hex string representation of the nonce count used by the last successful authentication.

Parameters:
nonceCount - The hex string representation of the nonce count used by the last successful authentication.