mirror of
https://github.com/apache/cloudstack.git
synced 2025-12-17 11:04:00 +01:00
CLOUDSTACK-1655: A regression in ConsoleProxy caused by deprecating old URL form
This commit is contained in:
parent
d55560a627
commit
bf15eb0c7f
@ -50,9 +50,10 @@ public class ConsoleProxyHttpHandlerHelper {
|
|||||||
ConsoleProxyPasswordBasedEncryptor encryptor = new ConsoleProxyPasswordBasedEncryptor(
|
ConsoleProxyPasswordBasedEncryptor encryptor = new ConsoleProxyPasswordBasedEncryptor(
|
||||||
ConsoleProxy.getEncryptorPassword());
|
ConsoleProxy.getEncryptorPassword());
|
||||||
|
|
||||||
|
ConsoleProxyClientParam param = encryptor.decryptObject(ConsoleProxyClientParam.class, map.get("token"));
|
||||||
|
|
||||||
// make sure we get information from token only
|
// make sure we get information from token only
|
||||||
map.clear();
|
map.clear();
|
||||||
ConsoleProxyClientParam param = encryptor.decryptObject(ConsoleProxyClientParam.class, map.get("token"));
|
|
||||||
if(param != null) {
|
if(param != null) {
|
||||||
if(param.getClientHostAddress() != null)
|
if(param.getClientHostAddress() != null)
|
||||||
map.put("host", param.getClientHostAddress());
|
map.put("host", param.getClientHostAddress());
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user