Class BasicAuthenticationHttpContext
java.lang.Object
org.osgi.service.servlet.context.ServletContextHelper
org.jolokia.server.core.osgi.security.DefaultServletContextHelper
org.jolokia.server.core.osgi.security.BasicAuthenticationHttpContext
Authentication context which uses a simple user/password credential pair
- Since:
- Jan 7, 2010
- Author:
- roland
-
Field Summary
Fields inherited from class org.osgi.service.servlet.context.ServletContextHelper
AUTHENTICATION_TYPE, AUTHORIZATION, REMOTE_USER -
Constructor Summary
ConstructorsConstructorDescriptionBasicAuthenticationHttpContext(String pRealm, Authenticator pAuthenticator) Constructor -
Method Summary
Modifier and TypeMethodDescriptionbooleanhandleSecurity(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) Methods inherited from class org.jolokia.server.core.osgi.security.DefaultServletContextHelper
getResource, getResourcePathsMethods inherited from class org.osgi.service.servlet.context.ServletContextHelper
finishSecurity, getMimeType, getRealPath
-
Constructor Details
-
BasicAuthenticationHttpContext
Constructor- Parameters:
pRealm- realm to authenticate against
-
-
Method Details
-
handleSecurity
public boolean handleSecurity(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) throws IOException - Overrides:
handleSecurityin classorg.osgi.service.servlet.context.ServletContextHelper- Throws:
IOException
-