Class RemoteUserHasLicensedAccessCondition
- java.lang.Object
-
- com.atlassian.confluence.plugin.descriptor.web.conditions.BaseConfluenceCondition
-
- com.atlassian.confluence.plugin.descriptor.web.conditions.user.RemoteUserHasLicensedAccessCondition
-
- All Implemented Interfaces:
com.atlassian.plugin.web.baseconditions.BaseCondition
,com.atlassian.plugin.web.Condition
public final class RemoteUserHasLicensedAccessCondition extends BaseConfluenceCondition
Passes if the remote (current) user is logged in and has licensed access to Confluence. SeeConfluenceAccessManager
andAccessStatus.hasLicensedAccess()
.- Since:
- 5.9
-
-
Field Summary
-
Fields inherited from class com.atlassian.confluence.plugin.descriptor.web.conditions.BaseConfluenceCondition
CONTEXT_KEY_HELPER
-
-
Constructor Summary
Constructors Constructor Description RemoteUserHasLicensedAccessCondition()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
setConfluenceAccessManager(ConfluenceAccessManager confluenceAccessManager)
protected boolean
shouldDisplay(WebInterfaceContext context)
-
Methods inherited from class com.atlassian.confluence.plugin.descriptor.web.conditions.BaseConfluenceCondition
init, shouldDisplay
-
-
-
-
Method Detail
-
shouldDisplay
protected boolean shouldDisplay(WebInterfaceContext context)
- Specified by:
shouldDisplay
in classBaseConfluenceCondition
-
setConfluenceAccessManager
public void setConfluenceAccessManager(ConfluenceAccessManager confluenceAccessManager)
-
-