public class BasicAuthenticationScheme extends Object implements HTTPAuthenticationScheme
| Constructor and Description |
|---|
BasicAuthenticationScheme(String realm) |
| 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 |
postAuthentication(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
public BasicAuthenticationScheme(String realm)
public void extractCredential(javax.servlet.http.HttpServletRequest request,
DefaultLoginCredentials creds)
extractCredential in interface HTTPAuthenticationSchemepublic void challengeClient(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws IOException
challengeClient in interface HTTPAuthenticationSchemeIOExceptionpublic void postAuthentication(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws IOException
postAuthentication in interface HTTPAuthenticationSchemeIOExceptionpublic String[] extractUsernameAndPassword(javax.servlet.http.HttpServletRequest request)
Copyright © 2013. All Rights Reserved.