Skip to content

Apereo CAS Authenticate with Hashed Password by BCrypt

Notifications You must be signed in to change notification settings

Phate334/cas-bcrypt-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Apereo CAS Authenticate with Hashed Password by BCrypt

Run

  • Add cas.example.org to your hosts file:
> echo '127.0.0.1 cas.example.org' >> /etc/hosts
> docker-compose up -d
> docker-compose restart cas

Login

Create hashed password

import bcrypt
hp = bcrypt.hashpw(b'1234', bcrypt.gensalt(prefix=b'2a'))
bcrypt.checkpw(b'1234', hp)

Reference

About

Apereo CAS Authenticate with Hashed Password by BCrypt

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published