@Capability(attribute={"objectClass:List<String>=\'javax.ws.rs.core.Feature\'","osgi.jaxrs.name=aries.shiro.authz"}, namespace="osgi.service") @RequireJaxrsWhiteboard public class ShiroAuthorizationFeature extends Object implements javax.ws.rs.core.Feature
ShiroFeature
, by registering an ExceptionMapper
,
SubjectPrincipalRequestFilter
and ShiroAnnotationFilterFeature
.
We cannot use the ShiroFeature
directly because several of the extension
types it registers are also used to enable authentication, and it is not allowed to
register the same extension twice. Also the ShiroFeature does not make correct use
of priorities when registering. This Feature therefore:
Constructor and Description |
---|
ShiroAuthorizationFeature() |
Copyright © 2021 The Apache Software Foundation. All rights reserved.