// 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.component.undertow.spring.security.keycloak* | Properties defined for keycloak provider. Value is gathered together from properties with prefix "camel.component.undertow.spring.security.keycloak" |  | KeycloakProviderConfiguration
| *camel.component.undertow.spring.security.keycloak.client-id* | Client id from the Keycloak server used for authentication. |  | String
| *camel.component.undertow.spring.security.keycloak.realm-id* | Realm id from the keycloak server used for authentication. |  | String
| *camel.component.undertow.spring.security.keycloak.url* | Url to keycloak server which will be used in spring security configuration. (Example "\http://localhost:8080") |  | String
| *camel.component.undertow.spring.security.keycloak.user-name-attribute* | Name of the attribute, which will be used as username. | preferred_username | String
|===
// spring-boot-auto-configure options: END
