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
ADynamicFeature
that registers the provided auth filters to resource methods annotated with theAuth
according to the type of the annotated method parameter.
-
-
Constructor Summary
Constructors Constructor Description PolymorphicAuthDynamicFeature(Map<Class<? extends T>,jakarta.ws.rs.container.ContainerRequestFilter> authFilterMap)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
configure(jakarta.ws.rs.container.ResourceInfo resourceInfo, jakarta.ws.rs.core.FeatureContext context)
boolean
configure(jakarta.ws.rs.core.FeatureContext context)
-
-
-
Method Detail
-
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
-
-