com.jayway.restassured.authentication
Class PreemptiveAuthProvider
java.lang.Object
com.jayway.restassured.authentication.PreemptiveAuthProvider
public class PreemptiveAuthProvider
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PreemptiveAuthProvider
public PreemptiveAuthProvider()
basic
public AuthenticationScheme basic(String userName,
String password)
- Use preemptive http basic authentication. This means that the authentication details are sent in the request
header regardless if the server has challenged for authentication or not.
- Parameters:
userName
- The user name.password
- The password.
- Returns:
- The Request specification
Copyright © 2010-2011. All Rights Reserved.