Package io.dropwizard.auth
Class PolymorphicAuthDynamicFeature<T extends Principal>
java.lang.Object
io.dropwizard.auth.PolymorphicAuthDynamicFeature<T>
- All Implemented Interfaces:
jakarta.ws.rs.container.DynamicFeature
,jakarta.ws.rs.core.Feature
public class PolymorphicAuthDynamicFeature<T extends Principal>
extends Object
implements jakarta.ws.rs.core.Feature, jakarta.ws.rs.container.DynamicFeature
A
DynamicFeature
that registers the provided auth filters
to resource methods annotated with the Auth
according to
the type of the annotated method parameter.-
Constructor Summary
ConstructorDescriptionPolymorphicAuthDynamicFeature
(Map<Class<? extends T>, jakarta.ws.rs.container.ContainerRequestFilter> authFilterMap) -
Method Summary
-
Constructor Details
-
PolymorphicAuthDynamicFeature
-
-
Method Details
-
configure
public void configure(jakarta.ws.rs.container.ResourceInfo resourceInfo, jakarta.ws.rs.core.FeatureContext context) - Specified by:
configure
in interfacejakarta.ws.rs.container.DynamicFeature
-
configure
public boolean configure(jakarta.ws.rs.core.FeatureContext context) - Specified by:
configure
in interfacejakarta.ws.rs.core.Feature
-