public static class AuthorizationPlugin.Adapter extends AuthProviderLifecycle.Adapter implements AuthorizationPlugin
AuthorizationPlugin.Adapter, AuthorizationPlugin.PrincipalAndProvider| Constructor and Description |
|---|
Adapter() |
| Modifier and Type | Method and Description |
|---|---|
AuthorizationInfo |
authorize(Collection<AuthorizationPlugin.PrincipalAndProvider> principals)
Should perform authorization of the given collection of principals and their corresponding authentication
providers, and return an AuthorizationInfo result that contains a collection of roles
that are assigned to the given principals.
|
String |
name()
The name of this authorization provider.
|
initialize, shutdown, start, stopequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitinitialize, shutdown, start, stoppublic String name()
AuthorizationPluginThis name, prepended with the prefix "plugin-", can be used by a client to direct an auth token directly to this authorization provider.
name in interface AuthorizationPluginpublic AuthorizationInfo authorize(Collection<AuthorizationPlugin.PrincipalAndProvider> principals)
AuthorizationPluginauthorize in interface AuthorizationPluginprincipals - a collection of principals and their corresponding authentication providersCopyright © 2002–2018 The Neo4j Graph Database Project. All rights reserved.