Class SecurityEntityFilteringFeature
- java.lang.Object
-
- org.glassfish.jersey.message.filtering.SecurityEntityFilteringFeature
-
- All Implemented Interfaces:
javax.ws.rs.core.Feature
public final class SecurityEntityFilteringFeature extends java.lang.Object implements javax.ws.rs.core.Feature
Feature
used to add support for Java Security annotations (javax.annotation.security
) for Entity Data Filtering feature.Supported annotations are:
PermitAll
RolesAllowed
DenyAll
It is sufficient to annotate only property accessors of an entity without annotating resource method / resource class although it is not recommended.
Note: This feature also registers theEntityFilteringFeature
.- See Also:
EntityFilteringFeature
-
-
Constructor Summary
Constructors Constructor Description SecurityEntityFilteringFeature()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
configure(javax.ws.rs.core.FeatureContext context)
-