public final class AbacProvider extends SynchronousProvider implements AuthorizationProvider
AbacValidator implemented.builder(),
create(Config)| Modifier and Type | Class and Description |
|---|---|
static class |
AbacProvider.Builder
A fluent API builder for
AbacProvider. |
| Modifier and Type | Method and Description |
|---|---|
static AbacProvider.Builder |
builder()
Creates a fluent API builder to build new instances of this class.
|
static AbacProvider |
create()
Creates a new provider instance with default configuration.
|
static AbacProvider |
create(Config config)
Creates a new provider instance from configuration.
|
Collection<Class<? extends Annotation>> |
supportedAnnotations()
Provide extension annotations supported by this provider (e.g.
|
protected AuthorizationResponse |
syncAuthorize(ProviderRequest providerRequest)
Synchronous authorization.
|
authenticate, authorize, outboundSecurity, syncAuthenticate, syncOutboundclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitauthorize, isUserInRolesupportedAttributes, supportedConfigKeys, supportedCustomObjectspublic static AbacProvider.Builder builder()
public static AbacProvider create(Config config)
config - configurationpublic static AbacProvider create()
public Collection<Class<? extends Annotation>> supportedAnnotations()
SecurityProviderjavax.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.supportedAnnotations in interface SecurityProviderEndpointConfig.annotations(EndpointConfig.AnnotationScope...),
EndpointConfig.combineAnnotations(Class, EndpointConfig.AnnotationScope...)protected AuthorizationResponse syncAuthorize(ProviderRequest providerRequest)
SynchronousProvidersyncAuthorize in class SynchronousProviderproviderRequest - context with environment, subject(s) etc.AuthorizationProvider.authorize(ProviderRequest)Copyright © 2018, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.