Instruct the system authentication handler to defer authentication decisions for anonymous connections to subsequent handlers.
a new builder containing the abstain anonymous connections command.
Add a principal.
If lockingPrincipal
is defined, the new principal can only be edited
by the principal defined in the lock.
The script will fail if the principal is already defined at the server.
the principal name
the principal's password
the assigned roles for the principal, default = []
the name of the principal that can edit this principal
a new builder containing the new principal
Instruct the system authentication to allow anonymous connections.
the roles to assign to anonymous sessions, default = []
a new builder containing the allow anonymous connections command.
Change a principal's assigned roles.
the principal name.
an array of roles
a new builder containing the changed roles
Create the script string.
the script
Instruct the system authentication to deny anonymous connections.
a new builder containing the deny anonymous connections command.
Remove a principal.
the principal name
a new builder containing the remove command
Set a principal's password.
the principal name
the principal's password
a new builder containing the changed password
Assert that a principal's password is password
.
This command doesn't update the store. It can be used in conjunction with setPassword to create a script that updates a password only if the previous password is supplied.
the principal name
the principal's password
a new builder containing the verification command
A builder that can be used to create scripts for use with updateAuthenticationStore.
Facilitates producing scripts that contain the mapping of roles to specific principals/passwords.