Class SecurityServerScopeProvider

    • Field Detail

      • securityContext

        @Context
        private javax.ws.rs.core.SecurityContext securityContext
    • Constructor Detail

      • SecurityServerScopeProvider

        @Inject
        public SecurityServerScopeProvider​(javax.ws.rs.core.Configuration config,
                                           InjectionManager injectionManager)
    • Method Detail

      • getFilteringScopes

        public java.util.Set<java.lang.String> getFilteringScopes​(java.lang.annotation.Annotation[] entityAnnotations,
                                                                  boolean defaultIfNotFound)
        Description copied from interface: ScopeProvider
        Get entity-filtering scopes to be used to process an entity.
        Specified by:
        getFilteringScopes in interface ScopeProvider
        Overrides:
        getFilteringScopes in class ServerScopeProvider
        Parameters:
        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.
        Returns:
        non-null entity-filtering scopes.