public interface SecurityProvider
| Modifier and Type | Method and Description |
|---|---|
default java.util.Collection<java.lang.Class<? extends java.lang.annotation.Annotation>> |
supportedAnnotations()
Provide extension annotations supported by this provider (e.g.
|
default java.util.Collection<java.lang.String> |
supportedAttributes()
A collection of attribute names expected by this provider to override endpoint
configuration.
|
default java.util.Collection<java.lang.String> |
supportedConfigKeys()
Keys expected in configuration.
|
default java.util.Collection<java.lang.Class<? extends ProviderConfig>> |
supportedCustomObjects()
Class of the configuration type.
|
default java.util.Collection<java.lang.Class<? extends java.lang.annotation.Annotation>> supportedAnnotations()
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.getAnnotations(EndpointConfig.AnnotationScope...),
EndpointConfig.combineAnnotations(Class, EndpointConfig.AnnotationScope...)default java.util.Collection<java.lang.String> supportedConfigKeys()
EndpointConfig.getConfig(String)default java.util.Collection<java.lang.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.getInstance(Class)default java.util.Collection<java.lang.String> supportedAttributes()
AbacSupport.getAttribute(String)Copyright © 2018, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.