Package org.apache.felix.webconsole
Interface WebConsoleSecurityProvider3
-
- All Superinterfaces:
WebConsoleSecurityProvider
,WebConsoleSecurityProvider2
@Deprecated(since="2021-04-30") public interface WebConsoleSecurityProvider3 extends WebConsoleSecurityProvider2
Deprecated.The Apache Felix Webconsole is not supported in Cloud environments.TheWebConsoleSecurityProvider3
extends theWebConsoleSecurityProvider2
interface and adds the ability to perform log-out operation.If a registered
WebConsoleSecurityProvider
service implements this interface thelogout(HttpServletRequest, HttpServletResponse)
method is called when the user clicks the logout button. If this service is missing and basic authentication is used, then new authentication is requested. In any case, the logout procedure will invalidate the current session and will remove theHttpContext.REMOTE_USER
,HttpContext.AUTHORIZATION
attributes from the request and the session.- Since:
- 4.2.8; Web Console Bundle 4.2.8
-
-
Field Summary
-
Fields inherited from interface org.apache.felix.webconsole.WebConsoleSecurityProvider2
USER_ATTRIBUTE
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description void
logout(HttpServletRequest request, HttpServletResponse response)
Deprecated.This method will be called by the web console when the user clicks the logout button.-
Methods inherited from interface org.apache.felix.webconsole.WebConsoleSecurityProvider
authenticate, authorize
-
Methods inherited from interface org.apache.felix.webconsole.WebConsoleSecurityProvider2
authenticate
-
-
-
-
Method Detail
-
logout
void logout(HttpServletRequest request, HttpServletResponse response)
Deprecated.This method will be called by the web console when the user clicks the logout button. The security provider shouldn't invalidate the session, it will be invalidated after this method exits. However the security provider must delete any cookies or objects, that matters during the authorization process.- Parameters:
request
- the requestresponse
- the response
-
-