class SecurityDeploymentProcessor extends Object
| Modifier and Type | Field and Description |
|---|---|
(package private) SecurityConfig |
security |
| Constructor and Description |
|---|
SecurityDeploymentProcessor() |
| Modifier and Type | Method and Description |
|---|---|
(package private) void |
addIdentityManager(SecurityTemplate template,
BuildProducer<ServletExtensionBuildItem> extension,
SecurityDomainBuildItem securityDomain,
List<IdentityManagerBuildItem> identityManagers,
List<AuthConfigBuildItem> authConfigs)
Create the deployment SecurityDomain using the SecurityRealm and AuthConfig build items that have been created.
|
(package private) void |
addLoginConfig(SecurityTemplate template,
List<AuthConfigBuildItem> authConfigs,
BuildProducer<ServletExtensionBuildItem> extension)
Produces a
ServletExtension to configure Undertow AuthConfigBuildItem produced during the build |
(package private) SecurityDomainBuildItem |
build(SecurityTemplate template,
BuildProducer<ServletExtensionBuildItem> extension,
List<SecurityRealmBuildItem> realms)
Create the deployment SecurityDomain using the SecurityRealm and AuthConfig build items that have been created.
|
(package private) AuthConfigBuildItem |
configureFileRealmAuthConfig(SecurityTemplate template,
BuildProducer<SubstrateResourceBuildItem> resources,
BuildProducer<SecurityRealmBuildItem> securityRealm,
BuildProducer<PasswordRealmBuildItem> passwordRealm)
Check to see if a PropertiesRealmConfig was specified and enabled and create a
LegacyPropertiesSecurityRealm
runtime value to process the user/roles properties files.
|
(package private) void |
configureIdentityManager(SecurityTemplate template,
SecurityDomainBuildItem securityDomain,
BuildProducer<IdentityManagerBuildItem> identityManagerProducer,
List<PasswordRealmBuildItem> passwordRealm)
If a password based realm was created, install the security extension
ElytronIdentityManager
|
(package private) AuthConfigBuildItem |
configureMPRealmConfig(SecurityTemplate template,
BuildProducer<SecurityRealmBuildItem> securityRealm,
BuildProducer<PasswordRealmBuildItem> passwordRealm)
Check to see if the a MPRealmConfig was specified and enabled and create a
SimpleMapBackedSecurityRealm
runtime value.
|
(package private) FeatureBuildItem |
feature()
Register this extension as a MP-JWT feature
|
(package private) void |
loadRealm(SecurityTemplate template,
List<SecurityRealmBuildItem> realms)
For each SecurityRealm, load it's runtime state.
|
(package private) void |
services(BuildProducer<ReflectiveClassBuildItem> classes)
Register the Elytron-provided password factory SPI implementation
|
SecurityConfig security
FeatureBuildItem feature()
void services(BuildProducer<ReflectiveClassBuildItem> classes)
classes - producer factory for ReflectiveClassBuildItemsAuthConfigBuildItem configureFileRealmAuthConfig(SecurityTemplate template, BuildProducer<SubstrateResourceBuildItem> resources, BuildProducer<SecurityRealmBuildItem> securityRealm, BuildProducer<PasswordRealmBuildItem> passwordRealm) throws Exception
template - - runtime security templateresources - - SubstrateResourceBuildItem used to register the realm user/roles properties files names.securityRealm - - the producer factory for the SecurityRealmBuildItemException - - on any failureAuthConfigBuildItem configureMPRealmConfig(SecurityTemplate template, BuildProducer<SecurityRealmBuildItem> securityRealm, BuildProducer<PasswordRealmBuildItem> passwordRealm) throws Exception
template - - runtime security templatesecurityRealm - - the producer factory for the SecurityRealmBuildItemException - - on any failureSecurityDomainBuildItem build(SecurityTemplate template, BuildProducer<ServletExtensionBuildItem> extension, List<SecurityRealmBuildItem> realms) throws Exception
template - - the runtime template class used to access runtime behaviorsextension - - the ServletExtensionBuildItem producer used to add the Undertow identity manager and auth configrealms - - the previously created SecurityRealm runtime valuesExceptionvoid configureIdentityManager(SecurityTemplate template, SecurityDomainBuildItem securityDomain, BuildProducer<IdentityManagerBuildItem> identityManagerProducer, List<PasswordRealmBuildItem> passwordRealm)
template - - runtime templatesecurityDomain - - configured SecurityDomainidentityManagerProducer - - producer factory for IdentityManagerBuildItemvoid addIdentityManager(SecurityTemplate template, BuildProducer<ServletExtensionBuildItem> extension, SecurityDomainBuildItem securityDomain, List<IdentityManagerBuildItem> identityManagers, List<AuthConfigBuildItem> authConfigs)
template - - the runtime template class used to access runtime behaviorsextension - - the ServletExtensionBuildItem producer used to add the Undertow identity manager and auth configauthConfigs - - the authentication method information that has been registeredExceptionvoid addLoginConfig(SecurityTemplate template, List<AuthConfigBuildItem> authConfigs, BuildProducer<ServletExtensionBuildItem> extension)
ServletExtension to configure Undertow AuthConfigBuildItem produced during the buildtemplate - - the runtime template class used to access runtime behaviorsextension - - the ServletExtensionBuildItem producer used to add the Undertow auth configauthConfigs - - the authentication method information that has been registeredvoid loadRealm(SecurityTemplate template, List<SecurityRealmBuildItem> realms) throws Exception
template - - the runtime template class used to access runtime behaviorsrealms - - the previously created SecurityRealm runtime valuesExceptionCopyright © 2019 JBoss by Red Hat. All rights reserved.