@Singleton @ConstrainedTo(value=SERVER) final class SecurityServerScopeProvider extends ServerScopeProvider
Modifier and Type | Field and Description |
---|---|
private javax.ws.rs.core.SecurityContext |
securityContext |
DEFAULT_SCOPE
Constructor and Description |
---|
SecurityServerScopeProvider(javax.ws.rs.core.Configuration config,
InjectionManager injectionManager) |
Modifier and Type | Method and Description |
---|---|
java.util.Set<java.lang.String> |
getFilteringScopes(java.lang.annotation.Annotation[] entityAnnotations,
boolean defaultIfNotFound)
Get entity-filtering scopes to be used to process an entity.
|
getFilteringScopes
getFilteringScopes, mergeFilteringScopes, returnFilteringScopes
@Inject public SecurityServerScopeProvider(javax.ws.rs.core.Configuration config, InjectionManager injectionManager)
public java.util.Set<java.lang.String> getFilteringScopes(java.lang.annotation.Annotation[] entityAnnotations, boolean defaultIfNotFound)
ScopeProvider
getFilteringScopes
in interface ScopeProvider
getFilteringScopes
in class ServerScopeProvider
entityAnnotations
- entity annotations provided with entity when creating request/response.defaultIfNotFound
- flag determining whether the default entity-filtering scope should be returned if no other
scope can be obtained.