@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 and Description |
|---|
ShiroAuthenticationFeatureProvider(List<org.apache.shiro.realm.Realm> realms) |
| Modifier and Type | Method and 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) |
public ShiroAuthenticationFeatureProvider(List<org.apache.shiro.realm.Realm> realms)
public ShiroAuthenticationFeature getService(org.osgi.framework.Bundle bundle, org.osgi.framework.ServiceRegistration<javax.ws.rs.core.Feature> registration)
getService in interface org.osgi.framework.PrototypeServiceFactory<javax.ws.rs.core.Feature>getService in interface org.osgi.framework.ServiceFactory<javax.ws.rs.core.Feature>public void ungetService(org.osgi.framework.Bundle bundle,
org.osgi.framework.ServiceRegistration<javax.ws.rs.core.Feature> registration,
javax.ws.rs.core.Feature service)
ungetService in interface org.osgi.framework.PrototypeServiceFactory<javax.ws.rs.core.Feature>ungetService in interface org.osgi.framework.ServiceFactory<javax.ws.rs.core.Feature>public void close()
Copyright © 2021 The Apache Software Foundation. All rights reserved.