Package net.ltgt.oidc.servlet.rs
Class HasRoleFeature
java.lang.Object
net.ltgt.oidc.servlet.rs.HasRoleFeature
- All Implemented Interfaces:
jakarta.ws.rs.container.DynamicFeature
@Provider
public class HasRoleFeature
extends Object
implements jakarta.ws.rs.container.DynamicFeature
Applies the
HasRoleFilter to any resource annotated with HasRole.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidconfigure(jakarta.ws.rs.container.ResourceInfo resourceInfo, jakarta.ws.rs.core.FeatureContext context)
-
Constructor Details
-
HasRoleFeature
public HasRoleFeature()
-
-
Method Details
-
configure
public void configure(jakarta.ws.rs.container.ResourceInfo resourceInfo, jakarta.ws.rs.core.FeatureContext context) - Specified by:
configurein interfacejakarta.ws.rs.container.DynamicFeature
-