Class BambooRestUnrestrictedAccessFilterFeature
java.lang.Object
com.atlassian.bamboo.rest.filters.BambooRestUnrestrictedAccessFilterFeature
- All Implemented Interfaces:
javax.ws.rs.container.DynamicFeature
@Provider
public class BambooRestUnrestrictedAccessFilterFeature
extends Object
implements javax.ws.rs.container.DynamicFeature
Filter that checks global read permission on resources that are annotated with
UnrestrictedAccess
and AccessDependsOnSecuritySettings
.- Since:
- 5.10
-
Constructor Summary
ConstructorDescriptionBambooRestUnrestrictedAccessFilterFeature
(AdministrationConfigurationAccessor administrationConfigurationAccessor, BambooPermissionManager bambooPermissionManager, com.atlassian.sal.api.message.I18nResolver i18nResolver) -
Method Summary
Modifier and TypeMethodDescriptionvoid
configure
(javax.ws.rs.container.ResourceInfo resourceInfo, javax.ws.rs.core.FeatureContext context)
-
Constructor Details
-
BambooRestUnrestrictedAccessFilterFeature
@Inject public BambooRestUnrestrictedAccessFilterFeature(AdministrationConfigurationAccessor administrationConfigurationAccessor, BambooPermissionManager bambooPermissionManager, com.atlassian.sal.api.message.I18nResolver i18nResolver)
-
-
Method Details
-
configure
public void configure(javax.ws.rs.container.ResourceInfo resourceInfo, javax.ws.rs.core.FeatureContext context) - Specified by:
configure
in interfacejavax.ws.rs.container.DynamicFeature
-