@Provider public class AuthenticatedSubjectProvider extends Object implements com.sun.jersey.spi.inject.InjectableProvider<Authenticated,com.sun.jersey.api.model.Parameter>
Subject as a parameter to a request that requires authentication or authorization.
The subject can then be used to perform finer resource restrictions then can be performed through annotations alone.| Constructor and Description |
|---|
AuthenticatedSubjectProvider(org.apache.shiro.mgt.SecurityManager securityManager) |
| Modifier and Type | Method and Description |
|---|---|
com.sun.jersey.spi.inject.Injectable |
getInjectable(com.sun.jersey.core.spi.component.ComponentContext componentContext,
Authenticated authenticated,
com.sun.jersey.api.model.Parameter parameter) |
com.sun.jersey.core.spi.component.ComponentScope |
getScope() |
public AuthenticatedSubjectProvider(org.apache.shiro.mgt.SecurityManager securityManager)
public com.sun.jersey.core.spi.component.ComponentScope getScope()
getScope in interface com.sun.jersey.spi.inject.InjectableProvider<Authenticated,com.sun.jersey.api.model.Parameter>public com.sun.jersey.spi.inject.Injectable getInjectable(com.sun.jersey.core.spi.component.ComponentContext componentContext,
Authenticated authenticated,
com.sun.jersey.api.model.Parameter parameter)
getInjectable in interface com.sun.jersey.spi.inject.InjectableProvider<Authenticated,com.sun.jersey.api.model.Parameter>Copyright © 2016. All Rights Reserved.