@Provider public class ShiroFeature extends Object implements javax.ws.rs.core.Feature
ExceptionMapper
, SubjectPrincipalRequestFilter
, and
ShiroAnnotationFilterFeature
.
Typically a JAX-RS Application
class will include this Feature class in the
classes returned from Application.getClasses()
method, for example:
public class SampleApplication extends Application {
Constructor and Description |
---|
ShiroFeature() |
public ShiroFeature()
public boolean configure(javax.ws.rs.core.FeatureContext context)
configure
in interface javax.ws.rs.core.Feature
Copyright © 2004–2019 The Apache Software Foundation. All rights reserved.