openid-connect-server-spring-boot-ui-thymeleaf

Thymeleaf UI for spring boot autoconfiguration version of the OpenID Connect Server reference implementation at https://github.com/mitreid-connect/OpenID-Connect-Java-Spring-Server

License

License

Categories

Categories

Spring Boot Container Microservices Net Leaf Data Databases
GroupId

GroupId

net.simpledynamics
ArtifactId

ArtifactId

openid-connect-server-spring-boot-ui-thymeleaf
Last Version

Last Version

0.1.3
Release Date

Release Date

Type

Type

jar
Description

Description

openid-connect-server-spring-boot-ui-thymeleaf
Thymeleaf UI for spring boot autoconfiguration version of the OpenID Connect Server reference implementation at https://github.com/mitreid-connect/OpenID-Connect-Java-Spring-Server
Project URL

Project URL

https://github.com/simpledynamics/openid-connect-server-spring-boot
Project Organization

Project Organization

Simple Dynamics
Source Code Management

Source Code Management

https://github.com/simpledynamics/openid-connect-server-spring-boot

Download openid-connect-server-spring-boot-ui-thymeleaf

How to add to project

<!-- https://jarcasting.com/artifacts/net.simpledynamics/openid-connect-server-spring-boot-ui-thymeleaf/ -->
<dependency>
    <groupId>net.simpledynamics</groupId>
    <artifactId>openid-connect-server-spring-boot-ui-thymeleaf</artifactId>
    <version>0.1.3</version>
</dependency>
// https://jarcasting.com/artifacts/net.simpledynamics/openid-connect-server-spring-boot-ui-thymeleaf/
implementation 'net.simpledynamics:openid-connect-server-spring-boot-ui-thymeleaf:0.1.3'
// https://jarcasting.com/artifacts/net.simpledynamics/openid-connect-server-spring-boot-ui-thymeleaf/
implementation ("net.simpledynamics:openid-connect-server-spring-boot-ui-thymeleaf:0.1.3")
'net.simpledynamics:openid-connect-server-spring-boot-ui-thymeleaf:jar:0.1.3'
<dependency org="net.simpledynamics" name="openid-connect-server-spring-boot-ui-thymeleaf" rev="0.1.3">
  <artifact name="openid-connect-server-spring-boot-ui-thymeleaf" type="jar" />
</dependency>
@Grapes(
@Grab(group='net.simpledynamics', module='openid-connect-server-spring-boot-ui-thymeleaf', version='0.1.3')
)
libraryDependencies += "net.simpledynamics" % "openid-connect-server-spring-boot-ui-thymeleaf" % "0.1.3"
[net.simpledynamics/openid-connect-server-spring-boot-ui-thymeleaf "0.1.3"]

Dependencies

compile (4)

Group / Artifact Type Version
org.bouncycastle : bcprov-jdk15on jar 1.52
org.mitre : openid-connect-server jar 1.2.3
org.springframework.boot : spring-boot-starter-security jar 1.3.3.RELEASE
org.springframework.boot : spring-boot-starter-web jar 1.3.3.RELEASE

runtime (2)

Group / Artifact Type Version
org.thymeleaf.extras : thymeleaf-extras-springsecurity4 jar 2.1.2.RELEASE
org.springframework.boot : spring-boot-starter-thymeleaf jar 1.3.3.RELEASE

Project Modules

There are no modules declared in this project.

Spring Boot MITREid Connect


Maven Central Travis CI

A Spring Boot Configuration for the MITREid OpenID Connect Server.

This project separates the OpenID Connect Server configuration from the UI, and includes sample applications.

The default sample application attempts to be as close as possible to the maven overlay web application from MITREid, while other samples give examples of how to customize the OpenID Connect server to fit your needs.

Pull requests and feature improvements are welcome.

Currently supports Spring Boot 1.5.2, MitreId Connect 1.3.0, and Spring Security 4.3.7

Password Encoders

The possibility of using a different password encoders for users and clients has been added through configuration. From now on you can configure MIDTREID Connect with some of the four types of encoders that come out-of-the-box in Spring.

To configure a different encoder type (the default encoder NoOpPasswordEncoder), the following configuration must be added to the yml file:

openid: connect: crypto: password-encoder: clients: bcrypt: enabled: true strength: -1 users: bcrypt: enabled: true strength: -1

openid.connect.crypto.password-encoder.clients defines the password encoder for clients and in openid.crypto.password-encoder.users for users.

The configuration of the different types of encoders is shown below.

BCrypt Password Encoder

To configure a BCrypt password encoder you will need to add the bcrypt property with the following properties:

  • enabled: enables (true) or disables (false) the encoder
  • strength: the log rounds to use, between 4 and 31

openid: connect: crypto: password-encoder: clients: bcrypt: enabled: true strength: -1 users: bcrypt: enabled: true strength: -1

SCrypt Password Encoder

To configure a SCrypt password encoder you will need to add the scrypt property with the following properties:

  • enabled: enables (true) or disables (false) the encoder
  • cpu-cost: cpu cost of the algorithm (as defined in scrypt this is N). must be power of 2 greater than 1. Default is currently 16,348 or 2^14)
  • memory-cost: memory cost of the algorithm (as defined in scrypt this is r) Default is currently 8.
  • parallelization: the parallelization of the algorithm (as defined in scrypt this is p) Default is currently 1. Note that the implementation does not currently take advantage of parallelization.
  • key-length: key length for the algorithm (as defined in scrypt this is dkLen). The default is currently 32.
  • salt-length: salt length (as defined in scrypt this is the length of S). The default is currently 64.

openid: connect: crypto: password-encoder: clients: scrypt: enabled: true cpu-cost: 16384 memory-cost: 8 parallelization: 1 key-length: 32 salt-length: 64 users: scrypt: enabled: true cpu-cost: 16384 memory-cost: 8 parallelization: 1 key-length: 32 salt-length: 64

Standard Password Encoder

To configure a Standard password encoder you will need to add the standard property with the following properties:

  • enabled: enables (true) or disables (false) the encoder
  • secret: the secret key used in the encoding process (should not be shared). Default ""

openid: connect: crypto: password-encoder: clients: standard: enabled: true secret: a_secret_word users: standard: enabled: true secret: a_secret_word

Pbkdf2 Password Encoder

To configure a Pbkdf2 password encoder you will need to add the pbkdf2 property with the following properties:

  • enabled: enables (true) or disables (false) the encoder
  • secret: the secret key used in the encoding process (should not be shared)

openid: connect: crypto: password-encoder: clients: pbkdf2: enabled: true secret: a_secret_word users: pbkdf2: enabled: true secret: a_secret_word

net.simpledynamics

Simple Dynamics

Versions

Version
0.1.3
0.1.2
0.1.1
0.1.0