| 类 | 说明 |
|---|---|
| AssignRealmNameRole |
Assign to user a role based on realm name
*
Configuration parameters:
roleNameFormat, optional by default is @{realm}
|
| JaasCredentialsValidator |
Validate credentials by using standard Java Authentication and Authorization Service
Configuration parameters:
appName inside the JAAS configuration (by default h2)
|
| 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)
|
| StaticRolesMapper |
Assign static roles to authenticated users
Configuration parameters:
roles role list separated by comma
|
| StaticUserCredentialsValidator |
This credentials validator matches the user and password with the configured
Usage should be limited to test purposes
|
Authentication classes.
Copyright © 2022. All rights reserved.