GUACAMOLE-769: Get the value and avoid splitting the string.
This commit is contained in:
1 parent
516963a162
commit
59c46da5b5
1 file changed
+1
-2
+1
-2
@@ -109,8 +109,7 @@ public class AuthenticationProviderService {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// We have the required attributes - convert to strings and then generate the additional login box/field
|
// We have the required attributes - convert to strings and then generate the additional login box/field
|
||||||
logger.debug("Received challenge: {}", replyAttr.getValue().toString());
|
String replyMsg = replyAttr.getValue().toString();
|
||||||
String replyMsg = replyAttr.toString().split(" = ", 2)[1];
|
|
||||||
String radiusState = BaseEncoding.base16().encode(stateAttr.getValue().getBytes());
|
String radiusState = BaseEncoding.base16().encode(stateAttr.getValue().getBytes());
|
||||||
Field radiusResponseField = new PasswordField(CHALLENGE_RESPONSE_PARAM);
|
Field radiusResponseField = new PasswordField(CHALLENGE_RESPONSE_PARAM);
|
||||||
Field radiusStateField = new RadiusStateField(radiusState);
|
Field radiusStateField = new RadiusStateField(radiusState);
|
||||||
|
|||||||
Reference in new issue
Block a user