public final class HeaderUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
static RequestHeader |
createBasicAuthorization(String username,
String password)
Creates a header which corresponds to HTTP Basic authorization
|
public static RequestHeader createBasicAuthorization(String username, String password)
username - User name to be encoded in headerpassword - Password to be encoded in headerCopyright © 2012 JBoss by Red Hat. All Rights Reserved.