Skip to content

42BV/spring-boot-starter-crowd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spring Boot Starter CROWD

Library for integrating CROWD authentication with Spring Boot / Security.

Usage

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.

Configuration

Properties

Properties that would previously have gone in crowd.properties can now be defined in the regular application YAML:

crowd:
  properties:
    timeout: 200

Groups

CROWD group names can be mapped to authentications using crowd.roles:

crowd:
  roles:
    crowd-app-dev-admin: admin
    crowd-app-dev-user: user

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages