public class AbacProvider extends SynchronousProvider implements AuthorizationProvider
AbacValidator implemented.builder(),
from(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 |
from(Config config)
Creates a new provider instance from configuration.
|
java.util.Collection<java.lang.Class<? extends java.lang.annotation.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 from(Config config)
config - configurationpublic static AbacProvider create()
public java.util.Collection<java.lang.Class<? extends java.lang.annotation.Annotation>> supportedAnnotations()
SecurityProviderRolesAllowed).
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.getAnnotations(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.