public class DigestAuthenticationModuleRunner extends AbstractAuthenticationModuleRunner
baseURL, enrollEndpoint, enrollURL, httpProviderFactory, loginEndpoint, loginURL, logoutEndpoint, logoutURL, timeout| Constructor and Description |
|---|
DigestAuthenticationModuleRunner(URL baseURL,
String loginEndpoint,
String logoutEndpoint,
Integer timeout) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAuthorizationHeader(URI uri,
String method,
byte[] entityBody) |
org.jboss.aerogear.android.pipe.http.HeaderAndBody |
onEnroll(Map<String,String> userData) |
org.jboss.aerogear.android.pipe.http.HeaderAndBody |
onLogin(String username,
String password) |
void |
onLogout() |
getBaseURI, getBaseURL, getEnrollEndpoint, getLoginEndpoint, getLogoutEndpointpublic DigestAuthenticationModuleRunner(URL baseURL, String loginEndpoint, String logoutEndpoint, Integer timeout)
baseURL - the baseURL that all urls (login, enroll, etc) will be
appended to.loginEndpoint - the login EndpointlogoutEndpoint - the logout Endpointtimeout - the timeoutIllegalArgumentException - if an endpoint can not be appended to
baseURLpublic org.jboss.aerogear.android.pipe.http.HeaderAndBody onEnroll(Map<String,String> userData)
onEnroll in class AbstractAuthenticationModuleRunnerpublic org.jboss.aerogear.android.pipe.http.HeaderAndBody onLogin(String username, String password)
onLogin in class AbstractAuthenticationModuleRunnerpublic void onLogout()
onLogout in class AbstractAuthenticationModuleRunnerCopyright © 2016 JBoss by Red Hat. All Rights Reserved.