Skip to content
Apache Shiro authentication with Django user id and password
Java
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src/main/java/com/ridi/shiro
.gitignore
LICENSE
README.md
pom.xml

README.md

shiro-django-auth

Apache Shiro authentication with Django user id and password

Build

$ mvn package

If you are using Apache Zeppelin, copy extracted .jar file to [your Zeppelin folder]/lib/.

Usage

In main section of configuration file shiro.ini, add following lines.

...
[main]
ps = com.ridi.shiro.DjangoPasswordService
pm = org.apache.shiro.authc.credential.PasswordMatcher
pm.passwordService = $ps
jdbcRealm.credentialsMatcher = $pm
...

You may configure jdbcRealm to connect database for Django user authentication.

Supported password hashing algorithms

  • pbkdf2_sha256
You can’t perform that action at this time.