|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.sparql.benchmarking.util.AuthUtils
public class AuthUtils
Helper class with authentication related utilities
| Method Summary | |
|---|---|
static HttpAuthenticator |
prepareAuthentication(String username,
String password,
boolean preemptive,
String... endpoints)
Prepares an authenticator that may use simple authentication |
static HttpAuthenticator |
prepareAuthenticator(String username,
String password,
boolean preemptive,
String formUrl,
String formUserField,
String formPwdField,
String... endpoints)
Prepares an authenticator that may use simple/form based authentication |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static HttpAuthenticator prepareAuthenticator(String username,
String password,
boolean preemptive,
String formUrl,
String formUserField,
String formPwdField,
String... endpoints)
username - User namepassword - Passwordpreemptive - Preemptive auth?formUrl - Form login URLformUserField - Form user fieldformPwdField - Form password fieldendpoints - Endpoints to configure authentication for
public static HttpAuthenticator prepareAuthentication(String username,
String password,
boolean preemptive,
String... endpoints)
username - User namepassword - Passwordpreemptive - Preemptive auth?endpoints - Endpoints to configure authentication for
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||