public interface SecurityProvider
EndpointConfig,
SecurityContext.endpointConfig()| Modifier and Type | Method and Description |
|---|---|
default Collection<Class<? extends Annotation>> |
supportedAnnotations()
Provide extension annotations supported by this provider (e.g.
|
default Collection<String> |
supportedAttributes()
A collection of attribute names expected by this provider to override endpoint
configuration.
|
default Collection<String> |
supportedConfigKeys()
Keys expected in configuration.
|
default Collection<Class<? extends ProviderConfig>> |
supportedCustomObjects()
Class of the configuration type.
|
default Collection<Class<? extends Annotation>> supportedAnnotations()
javax.annotation.security.RolesAllowed).
Annotations will be collected according to framework in use. For JAX-RS, annotations from application class, resource
class and resource methods will be collected.EndpointConfig.annotations(EndpointConfig.AnnotationScope...),
EndpointConfig.combineAnnotations(Class, EndpointConfig.AnnotationScope...)default Collection<String> supportedConfigKeys()
EndpointConfig.config(String)default Collection<Class<? extends ProviderConfig>> supportedCustomObjects()
ProviderConfig to
configure it. When configuring security, you user can provide an instance
of such a class to configure that provider.EndpointConfig.instance(Class)default Collection<String> supportedAttributes()
AbacSupport.abacAttribute(String)Copyright © 2018–2019 Oracle and/or its affiliates. All rights reserved. Use is subject to license terms.