Library for integrating CROWD authentication with Spring Boot / Security.
Include the dependency in your pom.xml
:
<dependency>
<groupId>nl.42</groupId>
<artifactId>spring-boot-starter-crowd</artifactId>
<version>${starter-crowd.version}</version>
</dependency>
And provide the required configuration:
crowd:
# enabled: true
server: https://your-crowd
application: app-dev
password: password
During startup this will register a remote CROWD AuthenticationProvider
.
The provider still has to be included in the AuthenticationManager
.
Properties that would previously have gone in crowd.properties
can now be defined in the regular application YAML:
crowd:
properties:
timeout: 200
CROWD group names can be mapped to authentications using crowd.roles
:
crowd:
roles:
crowd-app-dev-admin: admin
crowd-app-dev-user: user