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
.EntityFilteringFeature
Constructor and Description |
---|
SecurityEntityFilteringFeature() |
Modifier and Type | Method and Description |
---|---|
boolean |
configure(javax.ws.rs.core.FeatureContext context) |