gnu.beanfactory.servlet
Class DigestSecurity

java.lang.Object
  |
  +--gnu.beanfactory.servlet.DigestSecurity

public class DigestSecurity
extends java.lang.Object

Responsible for securing URLs against tampering.


Field Summary
static java.lang.String FINGERPRINT_KEY
           
 
Constructor Summary
DigestSecurity()
           
 
Method Summary
 java.lang.String getDigest()
           
 void init()
           
 void update(java.lang.String s)
           
static void verify(javax.servlet.http.HttpServletRequest request)
           
static void verify(javax.servlet.http.HttpServletRequest request, java.lang.String[] hash)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FINGERPRINT_KEY

public static java.lang.String FINGERPRINT_KEY
Constructor Detail

DigestSecurity

public DigestSecurity()
               throws java.security.NoSuchAlgorithmException,
                      BeanFactoryException
Method Detail

init

public void init()
          throws java.security.NoSuchAlgorithmException,
                 BeanFactoryException

update

public void update(java.lang.String s)

getDigest

public java.lang.String getDigest()

verify

public static void verify(javax.servlet.http.HttpServletRequest request)
                   throws java.security.NoSuchAlgorithmException,
                          BeanFactoryException

verify

public static void verify(javax.servlet.http.HttpServletRequest request,
                          java.lang.String[] hash)
                   throws java.security.NoSuchAlgorithmException,
                          BeanFactoryException