public class SecurityRealm<T extends SecurityRealm<T>> extends Object
Modifier and Type | Class and Description |
---|---|
static class |
SecurityRealm.SecurityRealmResources
Child mutators for SecurityRealm
|
Constructor and Description |
---|
SecurityRealm(String key) |
Modifier and Type | Method and Description |
---|---|
void |
addPropertyChangeListener(PropertyChangeListener listener)
Adds a property change listener
|
String |
getKey() |
T |
jaasAuthentication()
Configuration to use a JAAS LoginContext to authenticate the users.
|
T |
jaasAuthentication(JaasAuthentication value)
Configuration to use a JAAS LoginContext to authenticate the users.
|
T |
jaasAuthentication(JaasAuthenticationConsumer consumer)
Configuration to use a JAAS LoginContext to authenticate the users.
|
T |
jaasAuthentication(JaasAuthenticationSupplier supplier)
Configuration to use a JAAS LoginContext to authenticate the users.
|
T |
kerberosAuthentication()
Configuration to use Kerberos to authenticate the users.
|
T |
kerberosAuthentication(KerberosAuthentication value)
Configuration to use Kerberos to authenticate the users.
|
T |
kerberosAuthentication(KerberosAuthenticationConsumer consumer)
Configuration to use Kerberos to authenticate the users.
|
T |
kerberosAuthentication(KerberosAuthenticationSupplier supplier)
Configuration to use Kerberos to authenticate the users.
|
T |
kerberosServerIdentity()
Configuration for the Kerberos identity of a server or host controller.
|
T |
kerberosServerIdentity(KerberosServerIdentity value)
Configuration for the Kerberos identity of a server or host controller.
|
T |
kerberosServerIdentity(KerberosServerIdentityConsumer consumer)
Configuration for the Kerberos identity of a server or host controller.
|
T |
kerberosServerIdentity(KerberosServerIdentitySupplier supplier)
Configuration for the Kerberos identity of a server or host controller.
|
T |
ldapAuthentication()
Configuration to use LDAP as the user repository.
|
T |
ldapAuthentication(LdapAuthentication value)
Configuration to use LDAP as the user repository.
|
T |
ldapAuthentication(LdapAuthenticationConsumer consumer)
Configuration to use LDAP as the user repository.
|
T |
ldapAuthentication(LdapAuthenticationSupplier supplier)
Configuration to use LDAP as the user repository.
|
T |
ldapAuthorization()
Configuration to use LDAP as the user repository.
|
T |
ldapAuthorization(LdapAuthorization value)
Configuration to use LDAP as the user repository.
|
T |
ldapAuthorization(LdapAuthorizationConsumer consumer)
Configuration to use LDAP as the user repository.
|
T |
ldapAuthorization(LdapAuthorizationSupplier supplier)
Configuration to use LDAP as the user repository.
|
T |
localAuthentication()
Configuration of the local authentication mechanism.
|
T |
localAuthentication(LocalAuthentication value)
Configuration of the local authentication mechanism.
|
T |
localAuthentication(LocalAuthenticationConsumer consumer)
Configuration of the local authentication mechanism.
|
T |
localAuthentication(LocalAuthenticationSupplier supplier)
Configuration of the local authentication mechanism.
|
Boolean |
mapGroupsToRoles()
After a users group membership has been loaded should a 1:1 relationship
be assumed regarding group to role mapping.
|
T |
mapGroupsToRoles(Boolean value)
After a users group membership has been loaded should a 1:1 relationship
be assumed regarding group to role mapping.
|
T |
plugIn(PlugIn value)
Add the PlugIn object to the list of subresources
|
T |
plugIn(PlugInSupplier supplier)
Install a supplied PlugIn object to the list of subresources
|
T |
plugIn(String childKey)
Create and configure a PlugIn object to the list of subresources
|
T |
plugIn(String childKey,
PlugInConsumer consumer)
Create and configure a PlugIn object to the list of subresources
|
T |
plugInAuthentication()
Configuration of a user store plug-in for use by the realm.
|
T |
plugInAuthentication(PlugInAuthentication value)
Configuration of a user store plug-in for use by the realm.
|
T |
plugInAuthentication(PlugInAuthenticationConsumer consumer)
Configuration of a user store plug-in for use by the realm.
|
T |
plugInAuthentication(PlugInAuthenticationSupplier supplier)
Configuration of a user store plug-in for use by the realm.
|
T |
plugInAuthorization()
Configuration of a user store plug-in for use by the realm.
|
T |
plugInAuthorization(PlugInAuthorization value)
Configuration of a user store plug-in for use by the realm.
|
T |
plugInAuthorization(PlugInAuthorizationConsumer consumer)
Configuration of a user store plug-in for use by the realm.
|
T |
plugInAuthorization(PlugInAuthorizationSupplier supplier)
Configuration of a user store plug-in for use by the realm.
|
T |
plugIns(List<PlugIn> value)
Add all PlugIn objects to this subresource
|
T |
propertiesAuthentication()
Configuration to use a list users stored within a properties file as the
user repository.
|
T |
propertiesAuthentication(PropertiesAuthentication value)
Configuration to use a list users stored within a properties file as the
user repository.
|
T |
propertiesAuthentication(PropertiesAuthenticationConsumer consumer)
Configuration to use a list users stored within a properties file as the
user repository.
|
T |
propertiesAuthentication(PropertiesAuthenticationSupplier supplier)
Configuration to use a list users stored within a properties file as the
user repository.
|
T |
propertiesAuthorization()
Configuration to use properties file to load a users roles.
|
T |
propertiesAuthorization(PropertiesAuthorization value)
Configuration to use properties file to load a users roles.
|
T |
propertiesAuthorization(PropertiesAuthorizationConsumer consumer)
Configuration to use properties file to load a users roles.
|
T |
propertiesAuthorization(PropertiesAuthorizationSupplier supplier)
Configuration to use properties file to load a users roles.
|
void |
removePropertyChangeListener(PropertyChangeListener listener)
Removes a property change listener
|
T |
secretServerIdentity()
Configuration of the secret/password-based identity of a server or host
controller.
|
T |
secretServerIdentity(SecretServerIdentity value)
Configuration of the secret/password-based identity of a server or host
controller.
|
T |
secretServerIdentity(SecretServerIdentityConsumer consumer)
Configuration of the secret/password-based identity of a server or host
controller.
|
T |
secretServerIdentity(SecretServerIdentitySupplier supplier)
Configuration of the secret/password-based identity of a server or host
controller.
|
T |
sslServerIdentity()
Configuration of the SSL identity of a server or host controller.
|
T |
sslServerIdentity(SslServerIdentity value)
Configuration of the SSL identity of a server or host controller.
|
T |
sslServerIdentity(SslServerIdentityConsumer consumer)
Configuration of the SSL identity of a server or host controller.
|
T |
sslServerIdentity(SslServerIdentitySupplier supplier)
Configuration of the SSL identity of a server or host controller.
|
SecurityRealm.SecurityRealmResources |
subresources() |
T |
truststoreAuthentication()
Configuration of a keystore to use to create a trust manager to verify
clients.
|
T |
truststoreAuthentication(TruststoreAuthentication value)
Configuration of a keystore to use to create a trust manager to verify
clients.
|
T |
truststoreAuthentication(TruststoreAuthenticationConsumer consumer)
Configuration of a keystore to use to create a trust manager to verify
clients.
|
T |
truststoreAuthentication(TruststoreAuthenticationSupplier supplier)
Configuration of a keystore to use to create a trust manager to verify
clients.
|
T |
usersAuthentication()
Configuration to use a list users stored directly within the
standalone.xml or host.xml configuration file as the user repository.
|
T |
usersAuthentication(UsersAuthentication value)
Configuration to use a list users stored directly within the
standalone.xml or host.xml configuration file as the user repository.
|
T |
usersAuthentication(UsersAuthenticationConsumer consumer)
Configuration to use a list users stored directly within the
standalone.xml or host.xml configuration file as the user repository.
|
T |
usersAuthentication(UsersAuthenticationSupplier supplier)
Configuration to use a list users stored directly within the
standalone.xml or host.xml configuration file as the user repository.
|
public SecurityRealm(String key)
public String getKey()
public void addPropertyChangeListener(PropertyChangeListener listener)
public void removePropertyChangeListener(PropertyChangeListener listener)
public SecurityRealm.SecurityRealmResources subresources()
public T plugIns(List<PlugIn> value)
value
- List of PlugIn objects.public T plugIn(PlugIn value)
value
- The PlugIn to addpublic T plugIn(String childKey, PlugInConsumer consumer)
key
- The key for the PlugIn resourceconfig
- The PlugInConsumer to usepublic T plugIn(String childKey)
key
- The key for the PlugIn resourcepublic T plugIn(PlugInSupplier supplier)
public T truststoreAuthentication(TruststoreAuthentication value)
public T truststoreAuthentication(TruststoreAuthenticationConsumer consumer)
public T truststoreAuthentication()
public T truststoreAuthentication(TruststoreAuthenticationSupplier supplier)
public T ldapAuthorization(LdapAuthorization value)
public T ldapAuthorization(LdapAuthorizationConsumer consumer)
public T ldapAuthorization()
public T ldapAuthorization(LdapAuthorizationSupplier supplier)
public T kerberosAuthentication(KerberosAuthentication value)
public T kerberosAuthentication(KerberosAuthenticationConsumer consumer)
public T kerberosAuthentication()
public T kerberosAuthentication(KerberosAuthenticationSupplier supplier)
public T usersAuthentication(UsersAuthentication value)
public T usersAuthentication(UsersAuthenticationConsumer consumer)
public T usersAuthentication()
public T usersAuthentication(UsersAuthenticationSupplier supplier)
public T ldapAuthentication(LdapAuthentication value)
public T ldapAuthentication(LdapAuthenticationConsumer consumer)
public T ldapAuthentication()
public T ldapAuthentication(LdapAuthenticationSupplier supplier)
public T jaasAuthentication(JaasAuthentication value)
public T jaasAuthentication(JaasAuthenticationConsumer consumer)
public T jaasAuthentication()
public T jaasAuthentication(JaasAuthenticationSupplier supplier)
public T secretServerIdentity(SecretServerIdentity value)
public T secretServerIdentity(SecretServerIdentityConsumer consumer)
public T secretServerIdentity()
public T secretServerIdentity(SecretServerIdentitySupplier supplier)
public T sslServerIdentity(SslServerIdentity value)
public T sslServerIdentity(SslServerIdentityConsumer consumer)
public T sslServerIdentity()
public T sslServerIdentity(SslServerIdentitySupplier supplier)
public T plugInAuthorization(PlugInAuthorization value)
public T plugInAuthorization(PlugInAuthorizationConsumer consumer)
public T plugInAuthorization()
public T plugInAuthorization(PlugInAuthorizationSupplier supplier)
public T propertiesAuthentication(PropertiesAuthentication value)
public T propertiesAuthentication(PropertiesAuthenticationConsumer consumer)
public T propertiesAuthentication()
public T propertiesAuthentication(PropertiesAuthenticationSupplier supplier)
public T kerberosServerIdentity(KerberosServerIdentity value)
public T kerberosServerIdentity(KerberosServerIdentityConsumer consumer)
public T kerberosServerIdentity()
public T kerberosServerIdentity(KerberosServerIdentitySupplier supplier)
public T plugInAuthentication(PlugInAuthentication value)
public T plugInAuthentication(PlugInAuthenticationConsumer consumer)
public T plugInAuthentication()
public T plugInAuthentication(PlugInAuthenticationSupplier supplier)
public T localAuthentication(LocalAuthentication value)
public T localAuthentication(LocalAuthenticationConsumer consumer)
public T localAuthentication()
public T localAuthentication(LocalAuthenticationSupplier supplier)
public T propertiesAuthorization(PropertiesAuthorization value)
public T propertiesAuthorization(PropertiesAuthorizationConsumer consumer)
public T propertiesAuthorization()
public T propertiesAuthorization(PropertiesAuthorizationSupplier supplier)
public Boolean mapGroupsToRoles()
Copyright © 2020 JBoss by Red Hat. All rights reserved.