-
Notifications
You must be signed in to change notification settings - Fork 24.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Kerberos] Use canonical host name (#32588)
The Apache Http components support for Spnego scheme uses canonical name by default. Also when resolving host name, on centos by default there are other aliases so adding them to the DelegationPermission. Closes#32498
- Loading branch information
Showing
3 changed files
with
5 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 3 additions & 0 deletions
3
x-pack/qa/kerberos-tests/src/test/resources/plugin-security.policy
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,7 @@ | ||
grant { | ||
permission javax.security.auth.AuthPermission "doAsPrivileged"; | ||
permission javax.security.auth.kerberos.DelegationPermission "\"HTTP/[email protected]\" \"krbtgt/[email protected]\""; | ||
permission javax.security.auth.kerberos.DelegationPermission "\"HTTP/[email protected]\" \"krbtgt/[email protected]\""; | ||
permission javax.security.auth.kerberos.DelegationPermission "\"HTTP/[email protected]\" \"krbtgt/[email protected]\""; | ||
permission javax.security.auth.kerberos.DelegationPermission "\"HTTP/[email protected]\" \"krbtgt/[email protected]\""; | ||
}; |