Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Seam Core JSF2 2.3.0.Final
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.jboss.seam.security.digest
Class DigestUtils

    java.lang.Object
      org.jboss.seam.security.digest.DigestUtils

    public class DigestUtils

extends Object

Digest-related utility methods, adapted from Acegi and Apache Commons.

Author:
  Shane Bryzak

Constructor Summary
`DigestUtils()`

Method Summary
`static String` | `encodePasswordInA1Format(String username, String realm, String password)`
`static String` | `generateDigest(boolean passwordAlreadyEncoded, String username, String realm, String password, String httpMethod, String uri, String qop, String nonce, String nc, String cnonce)`
`static String` | `md5Hex(String value)`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### DigestUtils

    public DigestUtils()

Method Detail

### generateDigest

    public static String generateDigest(boolean passwordAlreadyEncoded,
                                        String username,
                                        String realm,
                                        String password,
                                        String httpMethod,
                                        String uri,
                                        String qop,
                                        String nonce,
                                        String nc,
                                        String cnonce)
                                 throws IllegalArgumentException

  Throws:
    `IllegalArgumentException`

### encodePasswordInA1Format

    public static String encodePasswordInA1Format(String username,
                                                  String realm,
                                                  String password)

### md5Hex

    public static String md5Hex(String value)

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Seam Core JSF2 2.3.0.Final
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2012 Seam Framework. All Rights Reserved.