public class DigestAuthenticationModuleRunner extends AbstractAuthenticationModuleRunner
baseURL, enrollEndpoint, enrollURL, httpProviderFactory, loginEndpoint, loginURL, logoutEndpoint, logoutURL, timeout| Constructor and Description |
|---|
DigestAuthenticationModuleRunner(URL baseURL,
AuthenticationConfig config) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAuthorizationHeader(URI uri,
String method,
byte[] entityBody) |
HeaderAndBody |
onEnroll(Map<String,String> userData) |
HeaderAndBody |
onLogin(String username,
String password) |
void |
onLogout() |
getBaseURI, getBaseURL, getEnrollEndpoint, getLoginEndpoint, getLogoutEndpointpublic DigestAuthenticationModuleRunner(URL baseURL, AuthenticationConfig config)
baseURL - the baseURL that all urls (login, enroll, etc) will be
appended to.config - a config objectIllegalArgumentException - if an endpoint can not be appended to
baseURLpublic HeaderAndBody onEnroll(Map<String,String> userData)
public HeaderAndBody onLogin(String username, String password)
public void onLogout()
Copyright © 2014 JBoss by Red Hat. All rights reserved.