Class ShiroAuthenticationFeatureProvider
- java.lang.Object
-
- org.apache.aries.jax.rs.shiro.authc.impl.ShiroAuthenticationFeatureProvider
-
- All Implemented Interfaces:
org.osgi.framework.PrototypeServiceFactory<javax.ws.rs.core.Feature>
,org.osgi.framework.ServiceFactory<javax.ws.rs.core.Feature>
@Capability(attribute={"objectClass:List<String>=\'javax.ws.rs.core.Feature\'","osgi.jaxrs.name=aries.shiro.authc"}, namespace="osgi.service") @RequireJaxrsWhiteboard public class ShiroAuthenticationFeatureProvider extends Object implements org.osgi.framework.PrototypeServiceFactory<javax.ws.rs.core.Feature>
-
-
Constructor Summary
Constructors Constructor Description ShiroAuthenticationFeatureProvider(List<org.apache.shiro.realm.Realm> realms)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
ShiroAuthenticationFeature
getService(org.osgi.framework.Bundle bundle, org.osgi.framework.ServiceRegistration<javax.ws.rs.core.Feature> registration)
void
ungetService(org.osgi.framework.Bundle bundle, org.osgi.framework.ServiceRegistration<javax.ws.rs.core.Feature> registration, javax.ws.rs.core.Feature service)
-
-
-
Constructor Detail
-
ShiroAuthenticationFeatureProvider
public ShiroAuthenticationFeatureProvider(List<org.apache.shiro.realm.Realm> realms)
-
-
Method Detail
-
getService
public ShiroAuthenticationFeature getService(org.osgi.framework.Bundle bundle, org.osgi.framework.ServiceRegistration<javax.ws.rs.core.Feature> registration)
- Specified by:
getService
in interfaceorg.osgi.framework.PrototypeServiceFactory<javax.ws.rs.core.Feature>
- Specified by:
getService
in interfaceorg.osgi.framework.ServiceFactory<javax.ws.rs.core.Feature>
-
ungetService
public void ungetService(org.osgi.framework.Bundle bundle, org.osgi.framework.ServiceRegistration<javax.ws.rs.core.Feature> registration, javax.ws.rs.core.Feature service)
- Specified by:
ungetService
in interfaceorg.osgi.framework.PrototypeServiceFactory<javax.ws.rs.core.Feature>
- Specified by:
ungetService
in interfaceorg.osgi.framework.ServiceFactory<javax.ws.rs.core.Feature>
-
close
public void close()
-
-