public class PolymorphicAuthDynamicFeature<T extends Principal> extends Object implements javax.ws.rs.container.DynamicFeature
DynamicFeature
that registers the provided auth filters
to resource methods annotated with the Auth
according to
the type of the annotated method parameter.Constructor and Description |
---|
PolymorphicAuthDynamicFeature(Map<Class<? extends T>,javax.ws.rs.container.ContainerRequestFilter> authFilterMap) |
Modifier and Type | Method and Description |
---|---|
void |
configure(javax.ws.rs.container.ResourceInfo resourceInfo,
javax.ws.rs.core.FeatureContext context) |
Copyright © 2011. All rights reserved.