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
The callback interface for
getSystemAuthentication . |
static interface |
SystemAuthenticationControl.ConfigurationContextCallback<C>
The contextual callback interface for
SystemAuthenticationControl.ConfigurationCallback for
getSystemAuthentication . |
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.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 |
---|---|
<C> void |
getSystemAuthentication(C context,
SystemAuthenticationControl.ConfigurationContextCallback<C> callback)
Query the store for all of the system principals, with a contextual
callback.
|
void |
getSystemAuthentication(SystemAuthenticationControl.ConfigurationCallback callback)
Obtain the current contents of the store.
|
SystemAuthenticationControl.ScriptBuilder |
scriptBuilder()
Returns a builder that can be used to create scripts for use with
updateStore . |
updateStore, updateStore
getSession
void getSystemAuthentication(SystemAuthenticationControl.ConfigurationCallback callback) throws IllegalArgumentException, SessionClosedException
callback
- the operation callbackIllegalArgumentException
- if callback is nullSessionClosedException
- if the session is closed<C> void getSystemAuthentication(C context, SystemAuthenticationControl.ConfigurationContextCallback<C> callback) throws IllegalArgumentException, SessionClosedException
C
- the context typecontext
- the context to pass to the callback, may be nullcallback
- the operation callbackIllegalArgumentException
- if callback is nullSessionClosedException
- if the session is closedgetSystemAuthentication(ConfigurationCallback)
SystemAuthenticationControl.ScriptBuilder scriptBuilder()
updateStore
.Copyright © 2016 Push Technology Ltd. All Rights Reserved.