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.
|
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 |
FINGERPRINT_KEY
public static java.lang.String FINGERPRINT_KEY
DigestSecurity
public DigestSecurity()
throws java.security.NoSuchAlgorithmException,
BeanFactoryException
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