public class BasicAuthenticationScheme extends Object implements HttpAuthenticationScheme<BasicAuthenticationConfiguration>
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_REALM_NAME |
Constructor and Description |
---|
BasicAuthenticationScheme() |
Modifier and Type | Method and Description |
---|---|
void |
challengeClient(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
void |
extractCredential(javax.servlet.http.HttpServletRequest request,
DefaultLoginCredentials creds) |
String[] |
extractUsernameAndPassword(javax.servlet.http.HttpServletRequest request) |
void |
initialize(BasicAuthenticationConfiguration config) |
void |
onPostAuthentication(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
public static final String DEFAULT_REALM_NAME
public void initialize(BasicAuthenticationConfiguration config)
initialize
in interface HttpAuthenticationScheme<BasicAuthenticationConfiguration>
public void extractCredential(javax.servlet.http.HttpServletRequest request, DefaultLoginCredentials creds)
extractCredential
in interface HttpAuthenticationScheme<BasicAuthenticationConfiguration>
public void challengeClient(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
challengeClient
in interface HttpAuthenticationScheme<BasicAuthenticationConfiguration>
public void onPostAuthentication(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
onPostAuthentication
in interface HttpAuthenticationScheme<BasicAuthenticationConfiguration>
public String[] extractUsernameAndPassword(javax.servlet.http.HttpServletRequest request)
Copyright © 2017 JBoss by Red Hat. All rights reserved.