-
Notifications
You must be signed in to change notification settings - Fork 144
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
is there any documentation how to create custom security realm #23759
Comments
At this moment we just refreshed the old documentation for GF7. To realms and login modules are related these parts: The implementation is quite obsoleted, but there is yet the authorization specification, so I believe this should work too (probably with some updates in package names): |
Indeed, The reason for the split btw was the idea that the LoginModule is purely the IdentityStore (doing only the credentials in -> username/groups out function), while the Real is the underlying IdentityDAO (having a huge amount extra methods to add, delete, update, etc identities). However in GlassFish it all got mixed up at some point, and often the Realm is leading instead of being purely underlying. To make matters worse, AFAIK, almost no Realm actually implements all the DAO features except for the build-in FileRealm. We once had a TODO to clean this up a little, but with the Jakarta Security API the need had been greatly diminished. |
This issue has been marked as inactive and old and will be closed in 7 days if there is no further activity. If you want the issue to remain open please add a comment |
This issue has been marked as inactive and old and will be closed in 7 days if there is no further activity. If you want the issue to remain open please add a comment |
Environment Details
Problem Description
The text was updated successfully, but these errors were encountered: