public class PolymorphicAuthDynamicFeature<T extends Principal> extends Object implements javax.ws.rs.core.Feature, 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 |
|---|---|
boolean |
configure(javax.ws.rs.core.FeatureContext context) |
void |
configure(javax.ws.rs.container.ResourceInfo resourceInfo,
javax.ws.rs.core.FeatureContext context) |
public void configure(javax.ws.rs.container.ResourceInfo resourceInfo,
javax.ws.rs.core.FeatureContext context)
configure in interface javax.ws.rs.container.DynamicFeaturepublic boolean configure(javax.ws.rs.core.FeatureContext context)
configure in interface javax.ws.rs.core.FeatureCopyright © 2011. All rights reserved.