com.bradmcevoy.http.http11.auth
Class ExpiredNonceRemover

java.lang.Object
  extended by com.bradmcevoy.http.http11.auth.ExpiredNonceRemover
All Implemented Interfaces:
java.lang.Runnable

public class ExpiredNonceRemover
extends java.lang.Object
implements java.lang.Runnable

Periodically checks a map of Nonce's to remove those which have expired. The map should be a reference to the live map in use by a NonceProvider

Author:
brad

Constructor Summary
ExpiredNonceRemover(java.util.Map<java.util.UUID,Nonce> nonces, int nonceValiditySeconds)
           
 
Method Summary
 void run()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExpiredNonceRemover

public ExpiredNonceRemover(java.util.Map<java.util.UUID,Nonce> nonces,
                           int nonceValiditySeconds)
Method Detail

run

public void run()
Specified by:
run in interface java.lang.Runnable


Copyright © 2011. All Rights Reserved.