@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,
org.glassfish.hk2.api.ServiceLocator serviceLocator) |
| 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.
|
getFilteringScopesgetFilteringScopes, mergeFilteringScopes, returnFilteringScopes@Inject
public SecurityServerScopeProvider(javax.ws.rs.core.Configuration config,
org.glassfish.hk2.api.ServiceLocator serviceLocator)
public java.util.Set<java.lang.String> getFilteringScopes(java.lang.annotation.Annotation[] entityAnnotations,
boolean defaultIfNotFound)
ScopeProvidergetFilteringScopes in interface ScopeProvidergetFilteringScopes in class ServerScopeProviderentityAnnotations - 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.