public class Authorization
extends java.lang.Object
Constructor and Description |
---|
Authorization() |
Modifier and Type | Method and Description |
---|---|
static java.util.Map<java.lang.String,java.lang.String> |
parseAuthorizationDigest(java.io.StringReader input)
Parses an HTTP Authorization header for DIGEST authentication as per RFC
2617 section 3.2.2.
|
public static java.util.Map<java.lang.String,java.lang.String> parseAuthorizationDigest(java.io.StringReader input) throws java.lang.IllegalArgumentException, java.io.IOException
input
- The header value to parseString
s or
null
if a parsing error occurs. Although the
values returned are String
s they will have been
validated to ensure that they conform to RFC 2617.java.lang.IllegalArgumentException
- If the header does not conform to RFC
2617java.io.IOException
- If an error occurs while reading the inputCopyright © 2000-2018 Apache Software Foundation. All Rights Reserved.