-
Notifications
You must be signed in to change notification settings - Fork 25.6k
Add the capability for the LDAP and AD realms to bind using Kerberos credentials #41126
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
Changes from all commits
cd80858
42ff127
230bc87
33dbb09
d3be59f
20cbecd
e29cf26
7332792
26ae7da
955469e
b2b4963
841f394
eaa5965
e6eda93
d9e5293
23bfb73
0ee24b1
1119857
986ff5e
7a5dc4c
b6dba5d
6fbf757
460b8aa
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -9,7 +9,24 @@ grant { | |
| permission java.util.PropertyPermission "*", "read,write"; | ||
|
|
||
| // needed for multiple server implementations used in tests | ||
| permission java.net.SocketPermission "*", "accept,connect"; | ||
| permission java.net.SocketPermission "*", "accept,connect,resolve"; | ||
|
|
||
| // needed for GSSAPI bind to LDAP | ||
| permission javax.security.auth.AuthPermission "modifyPrincipals"; | ||
| permission javax.security.auth.AuthPermission "modifyPrivateCredentials"; | ||
| permission javax.security.auth.PrivateCredentialPermission "javax.security.auth.kerberos.KerberosKey * \"*\"", "read"; | ||
| permission javax.security.auth.PrivateCredentialPermission "javax.security.auth.kerberos.KeyTab * \"*\"", "read"; | ||
| permission javax.security.auth.PrivateCredentialPermission "javax.security.auth.kerberos.KerberosTicket * \"*\"", "read"; | ||
| permission javax.security.auth.AuthPermission "doAs"; | ||
| permission javax.security.auth.kerberos.ServicePermission "*","initiate,accept"; | ||
|
|
||
| permission java.util.PropertyPermission "javax.security.auth.useSubjectCredsOnly","write"; | ||
| permission java.util.PropertyPermission "java.security.krb5.conf","write"; | ||
| permission java.util.PropertyPermission "sun.security.krb5.debug","write"; | ||
| permission java.util.PropertyPermission "java.security.debug","write"; | ||
|
|
||
| permission javax.security.auth.AuthPermission "createLoginContext.GSSAPIBindRequest"; | ||
| permission javax.security.auth.AuthPermission "setLoginConfiguration"; | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. can't these be moved to
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. No, as unboundid dependencies are in the
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think these are a lot of obscure permissions we're granting for any plugin (that inherits What do you think?
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ++ on moving the dependencies and getting the permissions in one place, though I see a TODO which I think is a non-trivial change and would require considerable thought as I am not much aware of what needs to be done here. I think I will pick this up later as a cleanup task. Thank you. |
||
| }; | ||
|
|
||
| grant codeBase "${codebase.netty-common}" { | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.