| 程序包 | 说明 |
|---|---|
| org.h2.security.auth |
Authentication classes.
|
| org.h2.security.auth.impl |
Authentication classes.
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
DefaultAuthenticator.addRealm(String name,
CredentialsValidator credentialsValidator)
Add an authentication realm.
|
void |
DefaultAuthenticator.addRealm(String name,
CredentialsValidator credentialsValidator)
Add an authentication realm.
|
| 限定符和类型 | 类和说明 |
|---|---|
class |
JaasCredentialsValidator
Validate credentials by using standard Java Authentication and Authorization Service
Configuration parameters:
appName inside the JAAS configuration (by default h2)
|
class |
LdapCredentialsValidator
Validate credentials by performing an LDAP bind
Configuration parameters:
bindDnPattern bind dn pattern with %u instead of username
(example: uid=%u,ou=users,dc=example,dc=com)
host ldap server
port of ldap service; optional, by default 389 for insecure, 636 for secure
secure, optional by default is true (use SSL)
|
class |
StaticUserCredentialsValidator
This credentials validator matches the user and password with the configured
Usage should be limited to test purposes
|
Copyright © 2022. All rights reserved.