risdenk commented on code in PR #2835:
URL: https://github.com/apache/solr/pull/2835#discussion_r1864703595
##########
solr/core/src/java/org/apache/solr/security/RuleBasedAuthorizationPlugin.java:
##########
@@ -41,17 +40,11 @@ public void init(Map<String, Object> initInfo) {
String roleName = e.getKey();
usersVsRoles.put(roleName, Permission.readValueAsSet(map, roleName));
}
- useShortName =
- Boolean.parseBoolean(initInfo.getOrDefault("useShortName",
Boolean.FALSE).toString());
Review Comment:
Yea the short name in Kerberos is without the realm. So if the principal was
`USERNAME@REALM` it would just be `USERNAME` or if the principal was
`USERNAME/HOST@REALM` it would just be `USERNAME` and is a Kerberos construct
to break down the whole principal
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]