public interface SystemAuthenticationControl extends SecurityStoreFeature
VIEW_SECURITY
permission and in order
to update the store it needs MODIFY_SECURITY
permission.
session
as follows:
SystemAuthenticationControl systemAuthenticationControl = session.feature(SystemAuthenticationControl.class);
Modifier and Type | Interface and Description |
---|---|
static class |
SystemAuthenticationControl.AnonymousConnectionAction
Action to be taken by the system authentication handler for connection
attempts that do not provide a principal name and credentials.
|
static interface |
SystemAuthenticationControl.ConfigurationCallback
Deprecated.
since 6.7
Methods that use callbacks are deprecated and will be removed in a future release. Use CompletableFuture variant instead. |
static interface |
SystemAuthenticationControl.ConfigurationContextCallback<C>
Deprecated.
since 6.7
Methods that use callbacks are deprecated and will be removed in a future release. Use CompletableFuture variant instead. |
static interface |
SystemAuthenticationControl.ScriptBuilder
A script builder may be used to create a script of commands to apply to
the system authentication store at the server.
|
static interface |
SystemAuthenticationControl.SessionPropertyValidation
Defines the validation for a trusted client proposed session property.
|
static interface |
SystemAuthenticationControl.SystemAuthenticationConfiguration
Snapshot of information from the system authentication store.
|
static interface |
SystemAuthenticationControl.SystemPrincipal
A principal in the system authentication store.
|
SecurityStoreFeature.UpdateStoreCallback, SecurityStoreFeature.UpdateStoreContextCallback<C>
Modifier and Type | Method and Description |
---|---|
CompletableFuture<SystemAuthenticationControl.SystemAuthenticationConfiguration> |
getSystemAuthentication()
Obtain the current contents of the store.
|
<C> void |
getSystemAuthentication(C context,
SystemAuthenticationControl.ConfigurationContextCallback<C> callback)
Deprecated.
since 6.7
Methods that use callbacks are deprecated and will be removed in a future release. Use CompletableFuture variant instead. |
void |
getSystemAuthentication(SystemAuthenticationControl.ConfigurationCallback callback)
Deprecated.
since 6.7
Methods that use callbacks are deprecated and will be removed in a future release. Use CompletableFuture variant instead. |
SystemAuthenticationControl.ScriptBuilder |
scriptBuilder()
Returns a builder that can be used to create scripts for use with
updateStore . |
updateStore, updateStore, updateStore
getSession
CompletableFuture<SystemAuthenticationControl.SystemAuthenticationConfiguration> getSystemAuthentication()
If the request was successful, the CompletableFuture will
complete successfully with a
SystemAuthenticationControl.SystemAuthenticationConfiguration
result.
Otherwise, the CompletableFuture will complete exceptionally with
a CompletionException
. Common reasons for failure, listed
by the exception reported as the
cause
, include:
PermissionsException
– if the session does
not have VIEW_SECURITY
permission;
SessionClosedException
– if the session is
closed.
@Deprecated void getSystemAuthentication(SystemAuthenticationControl.ConfigurationCallback callback)
Methods that use callbacks are deprecated and will be removed in a future release. Use CompletableFuture variant instead.
callback
- the operation callback@Deprecated <C> void getSystemAuthentication(C context, SystemAuthenticationControl.ConfigurationContextCallback<C> callback)
Methods that use callbacks are deprecated and will be removed in a future release. Use CompletableFuture variant instead.
C
- the context typecontext
- the context to pass to the callback, may be nullcallback
- the operation callbackgetSystemAuthentication(ConfigurationCallback)
SystemAuthenticationControl.ScriptBuilder scriptBuilder()
updateStore
.Copyright © 2024 DiffusionData Ltd. All Rights Reserved.