org.siprop.simulator.multiPacketer
クラス DigestAuthentication

java.lang.Object
  上位を拡張 org.siprop.simulator.multiPacketer.DigestAuthentication

public class DigestAuthentication
extends java.lang.Object

Digest認証用クラス
非常に簡易的な実装のみ行っている。

作成者:
noritsuna

フィールドの概要
protected static Category LOG
          log4j アクセスポイント。
 
コンストラクタの概要
DigestAuthentication()
           
 
メソッドの概要
 AuthenticationHeader calcAuthHeader(AuthenticationHeader auth, java.lang.String username, java.lang.String password, java.lang.String uriStr, java.lang.String method)
          responseを計算して、Authヘッダーを返す。
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

フィールドの詳細

LOG

protected static Category LOG
log4j アクセスポイント。

コンストラクタの詳細

DigestAuthentication

public DigestAuthentication()
メソッドの詳細

calcAuthHeader

public AuthenticationHeader calcAuthHeader(AuthenticationHeader auth,
                                           java.lang.String username,
                                           java.lang.String password,
                                           java.lang.String uriStr,
                                           java.lang.String method)
                                    throws java.text.ParseException
responseを計算して、Authヘッダーを返す。

パラメータ:
auth - AuthenticationHeader
username - ユーザ名
password - パスワード
uriStr - Request-URI
method - メソッド名
戻り値:
responseパラメータ付きのAuthヘッダー
例外:
java.text.ParseException