Class WebSudoSessionContextProvider
java.lang.Object
com.atlassian.bamboo.plugins.web.conditions.WebSudoSessionContextProvider
- All Implemented Interfaces:
com.atlassian.plugin.web.ContextProvider
public class WebSudoSessionContextProvider
extends Object
implements com.atlassian.plugin.web.ContextProvider
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
WebSudoSessionContextProvider
-
-
Method Details
-
getContextMap
Provides information about the web sudo session.- Specified by:
getContextMap
in interfacecom.atlassian.plugin.web.ContextProvider
- Parameters:
context
- context- Returns:
- a map containing the expiry for the web sudo session if active, otherwise an empty map
-
init
Ignored, as this context provider does not support any parameters for controlling its behaviour.- Specified by:
init
in interfacecom.atlassian.plugin.web.ContextProvider
- Parameters:
params
- ignored- Throws:
com.atlassian.plugin.PluginParseException
-