public class BasicAuthenticationHttpContext extends DefaultHttpContext
Constructor and Description |
---|
BasicAuthenticationHttpContext(String pRealm,
Authenticator pAuthenticator)
Constructor
|
Modifier and Type | Method and Description |
---|---|
boolean |
handleSecurity(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
This method always returns true and does not handle security
|
getMimeType, getResource
public BasicAuthenticationHttpContext(String pRealm, Authenticator pAuthenticator)
pRealm
- realm to authenticate againstpublic boolean handleSecurity(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws IOException
handleSecurity
in interface org.osgi.service.http.HttpContext
handleSecurity
in class DefaultHttpContext
IOException
Copyright © 2018. All rights reserved.