Description
new GrouperPasswordSave().
|
assignApplication(GrouperPassword.Application.UI).
|
assignUsername("etc:example:localEntities:serviceacct").
|
assignPassword("pass").
|
save()
|
java.lang.RuntimeException: username and password cannot both contain a colon due to http basic auth
The password doesn't have a colon, so the error doesn't make sense. I believe it should have && instead of ||, right? Auth can handle a handle colons in usernames since 2.5.45.
if (StringUtils.contains(username, ":") || StringUtils.contains(thePassword, ":")) {
|
throw new RuntimeException("username and password cannot both contain a colon due to http basic auth");
|
}
|