Package org.wildfly.test.undertow.common
Class UndertowApplicationSecurityDomain.Builder
java.lang.Object
org.wildfly.test.security.common.elytron.AbstractConfigurableElement.Builder<UndertowApplicationSecurityDomain.Builder>
org.wildfly.test.undertow.common.UndertowApplicationSecurityDomain.Builder
- Enclosing class:
- UndertowApplicationSecurityDomain
public static final class UndertowApplicationSecurityDomain.Builder
extends AbstractConfigurableElement.Builder<UndertowApplicationSecurityDomain.Builder>
Builder to build an application-security-domain resource in the Undertow subsystem
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Build a new UndertowApplicationSecurityDomainConfigurableElementhttpAuthenticationFactory(String httpAuthenticationFactory) Set the http-authentication-factory to be mapped from this application security-domain.self()withEnableJacc(boolean enableJacc) Set if Jakarta Authorization should be enabled for this application-security-domain.withEnableJaspi(boolean enableJaspi) Set if JASPI should be enabled for this application-security-domain.withIntegratedJaspi(boolean integratedJaspi) Set if JASPI should operate in integrated mode or ad-hoc mode.withSecurityDomain(String securityDomain) Set the security domain to be mapped from this application-security-domain.withSingleSignOnSettings(SingleSignOnSetting singleSignOnSettings) Set the SingleSignOnSettings for this application-security-domain.Methods inherited from class org.wildfly.test.security.common.elytron.AbstractConfigurableElement.Builder
withName
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
withSecurityDomain
Set the security domain to be mapped from this application-security-domain.- Parameters:
securityDomain- the security domain to be mapped from this application-security-domain.- Returns:
- this
UndertowApplicationSecurityDomain.Builderto allow method chaining.
-
httpAuthenticationFactory
public UndertowApplicationSecurityDomain.Builder httpAuthenticationFactory(String httpAuthenticationFactory) Set the http-authentication-factory to be mapped from this application security-domain.- Parameters:
httpAuthenticationFactory- the http-authentication-factory to be mapped from this application security-domain.- Returns:
- this
UndertowApplicationSecurityDomain.Builderto allow method chaining.
-
withEnableJacc
Set if Jakarta Authorization should be enabled for this application-security-domain.- Parameters:
enableJacc- if Jakarta Authorization should be enabled for this application-security-domain.- Returns:
- this
UndertowApplicationSecurityDomain.Builderto allow method chaining.
-
withEnableJaspi
Set if JASPI should be enabled for this application-security-domain.- Parameters:
enableJaspi- if JASPI should be enabled for this application-security-domain.- Returns:
- this
UndertowApplicationSecurityDomain.Builderto allow method chaining.
-
withIntegratedJaspi
Set if JASPI should operate in integrated mode or ad-hoc mode.- Parameters:
integratedJaspi- if JASPI should operate in integrated mode or ad-hoc mode.- Returns:
- this
UndertowApplicationSecurityDomain.Builderto allow method chaining.
-
withSingleSignOnSettings
public UndertowApplicationSecurityDomain.Builder withSingleSignOnSettings(SingleSignOnSetting singleSignOnSettings) Set the SingleSignOnSettings for this application-security-domain.- Parameters:
singleSignOnSettings- the SingleSignOnSettings for this application-security-domain.- Returns:
- this
UndertowApplicationSecurityDomain.Builderto allow method chaining.
-
build
Build a new UndertowApplicationSecurityDomainConfigurableElement- Returns:
- a new UndertowApplicationSecurityDomain
ConfigurableElement
-
self
- Specified by:
selfin classAbstractConfigurableElement.Builder<UndertowApplicationSecurityDomain.Builder>
-