Skip to content

Latest commit

 

History

History
50 lines (32 loc) · 1.73 KB

File metadata and controls

50 lines (32 loc) · 1.73 KB

Spring Security SAML example

This project demonstrates both IDP initiated and SP initiated SSO flows.

Modules

Identity Provider

Service Provider

Service Provider SB3

How to Test

Look at UserUtils class to generate custom SAML attributes

  • Usernames: user002@email, user003@email
  • password: pass

generate a private key with the correct length

openssl genrsa -out pk.key 1024

generate corresponding public key

openssl pkcs8 -topk8 -inform pem -in pk.key -outform pem -nocrypt -out pk.pem

optional: create a self-signed certificate

openssl req -new -x509 -key pk.pem -out cert.pem -days 360