Package org.wso2.carbon.ui
Class CarbonSecuredHttpContext
java.lang.Object
org.osgi.service.http.context.ServletContextHelper
org.wso2.carbon.ui.BundleEntryHttpContext
org.wso2.carbon.ui.SecuredComponentEntryHttpContext
org.wso2.carbon.ui.CarbonSecuredHttpContext
- All Implemented Interfaces:
org.osgi.service.http.HttpContext
-
Field Summary
FieldsFields inherited from class org.wso2.carbon.ui.SecuredComponentEntryHttpContext
registry, uiResourceRegistryFields inherited from class org.osgi.service.http.context.ServletContextHelper
AUTHENTICATION_TYPE, AUTHORIZATION, REMOTE_USERFields inherited from interface org.osgi.service.http.HttpContext
AUTHENTICATION_TYPE, AUTHORIZATION, REMOTE_USER -
Constructor Summary
ConstructorsConstructorDescriptionCarbonSecuredHttpContext(org.osgi.framework.Bundle bundle, String s, UIResourceRegistry uiResourceRegistry, org.wso2.carbon.registry.core.Registry registry) -
Method Summary
Modifier and TypeMethodDescriptionbooleanhandleSecurity(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) Methods inherited from class org.wso2.carbon.ui.SecuredComponentEntryHttpContext
getResourceMethods inherited from class org.wso2.carbon.ui.BundleEntryHttpContext
getMimeType, getResourcePathsMethods inherited from class org.osgi.service.http.context.ServletContextHelper
finishSecurity, getRealPath
-
Field Details
-
LOGGED_USER
- See Also:
-
CARBON_AUTHNETICATOR
- See Also:
-
-
Constructor Details
-
CarbonSecuredHttpContext
public CarbonSecuredHttpContext(org.osgi.framework.Bundle bundle, String s, UIResourceRegistry uiResourceRegistry, org.wso2.carbon.registry.core.Registry registry) - Parameters:
bundle-s-uiResourceRegistry-registry-
-
-
Method Details
-
handleSecurity
public boolean handleSecurity(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws IOException - Specified by:
handleSecurityin interfaceorg.osgi.service.http.HttpContext- Overrides:
handleSecurityin classBundleEntryHttpContext- Throws:
IOException
-