Comments (1)
There is none.
Direct hash are just here to give some authentication class examples.
You should write you own authentication class implementing https://github.com/nitmir/django-cas-server/blob/master/cas_server/auth.py#L37
You can always subclass SqlAuthUser
or LdapAuthUser
(I do not known which one you are using) and just change the test_password
method to suit your case.
I do not intend to add salt options for plain hash algorithms as some people may hash differently (with the salt before or after for exemple) with the salt stored differently (in another field, on the first bytes of the password hash, with a separator in the password hash, ...). Contrary to the the crypt format which is well documented.
from django-cas-server.
Related Issues (20)
- __init__() missing 1 required positional argument: 'username' HOT 1
- QUESTION: Any idea how to integrate Duo 2FA? HOT 1
- Password hashes with LDAP + {CRYPT} fail on DES encoding HOT 1
- Documentation edits HOT 1
- Encoding an URL in service parameter throws INVALID_SERVICE HOT 1
- Tips when using a custom Django User HOT 2
- Use custom USERNAME_FIELD
- ImportError: The crypt module is not supported on Windows HOT 1
- Password Check
- Application's user sessions are independent from CAS Server sessions? HOT 2
- One-time access HOT 1
- Django 3.2 compatibility HOT 1
- setup.py has wrong versions of Django in install_requires HOT 3
- Can django-cas-server work as a SAML 2.0 SSO? HOT 1
- CAS SSO using CASTGC
- [Feature]Clear cookies after logout HOT 1
- Update to be compatible with Django 4.0
- cas_server.utils.update_url throws UnicodeEncodeError when updating a service URL with not purely ascii GET parameters HOT 2
- Please add support for django4.2 HOT 1
- Password change/reset feature HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from django-cas-server.