blob: 1ad9bbf8c38e228ed1d5d72c0dd10665ec64acff [file] [log] [blame]
// spring-boot-auto-configure options: START
:page-partial:
:doctitle: Camel Spring Boot Starter for undertow-spring-security
== Spring Boot Auto-Configuration
When using undertow-spring-security with Spring Boot make sure to use the following Maven dependency to have support for auto configuration:
[source,xml]
----
<dependency>
<groupId>org.apache.camel.springboot</groupId>
<artifactId>camel-undertow-spring-security-starter</artifactId>
<version>x.x.x</version>
<!-- use the same version as your Camel core version -->
</dependency>
----
The component supports 5 options, which are listed below.
[width="100%",cols="2,5,^1,2",options="header"]
|===
| Name | Description | Default | Type
| *camel.security.undertow.keycloak* | Properties defined for keycloak provider. Value is gathered together from properties with prefix "camel.component.undertow.spring.security.keycloak" | | KeycloakProviderConfiguration
| *camel.security.undertow.keycloak.client-id* | Client id from the Keycloak server used for authentication. | | String
| *camel.security.undertow.keycloak.realm-id* | Realm id from the keycloak server used for authentication. | | String
| *camel.security.undertow.keycloak.url* | Url to keycloak server which will be used in spring security configuration. (Example "\http://localhost:8080") | | String
| *camel.security.undertow.keycloak.user-name-attribute* | Name of the attribute, which will be used as username. | preferred_username | String
|===
// spring-boot-auto-configure options: END