Tsukuyomi OpenID
0.2.0

jp.sourceforge.tsukuyomi.openid.rp.impl
クラス InMemoryNonceVerifier

java.lang.Object
  上位を拡張 jp.sourceforge.tsukuyomi.openid.rp.AbstractNonceVerifier
      上位を拡張 jp.sourceforge.tsukuyomi.openid.rp.impl.InMemoryNonceVerifier
すべての実装されたインタフェース:
NonceVerifier

public class InMemoryNonceVerifier
extends AbstractNonceVerifier

作成者:
Marius Scurtescu, Johnny Bufu

フィールドの概要
 
クラス jp.sourceforge.tsukuyomi.openid.rp.AbstractNonceVerifier から継承されたフィールド
maxAge
 
インタフェース jp.sourceforge.tsukuyomi.openid.rp.NonceVerifier から継承されたフィールド
INVALID_TIMESTAMP, OK, SEEN, TOO_OLD
 
コンストラクタの概要
InMemoryNonceVerifier()
           
InMemoryNonceVerifier(int maxAge)
           
 
メソッドの概要
protected  int seen(Date now, String idpUrl, String nonce)
          Subclasses should implement this method and check if the nonce was seen before.
 int size()
           
 
クラス jp.sourceforge.tsukuyomi.openid.rp.AbstractNonceVerifier から継承されたメソッド
getMaxAge, isTooOld, seen
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

InMemoryNonceVerifier

public InMemoryNonceVerifier(int maxAge)

InMemoryNonceVerifier

public InMemoryNonceVerifier()
メソッドの詳細

seen

protected int seen(Date now,
                   String idpUrl,
                   String nonce)
クラス AbstractNonceVerifier の記述:
Subclasses should implement this method and check if the nonce was seen before. The nonce timestamp was verified at this point, it is valid and it is in the max age boudary.

定義:
クラス AbstractNonceVerifier 内の seen
パラメータ:
now - The timestamp used to check the max age boudary.

size

public int size()

Tsukuyomi OpenID
0.2.0

Copyright © 2008 Project Tsukuyomi. All Rights Reserved.