CPBM 2.1 and ACS SSO
Anyone? What is the recommended way to enable single sign on between CPBM 2.1 and ACS 4.2?
I have CPBM 2.1 running with the ACS Connector to ACS 4.2. What is the recommended way to enable single sign on between CPBM and ACS?
I have tried "Integrate with CloudPlatform" from the CPBM install script, this mostly works except when I try to 'View Console' for an Instance and I get the following instead of the console, followed by Session Expired!
<null cloud-stack-version="4.2.0-SNAPSHOT">
<errorcode>401</errorcode>
<errortext>
unable to verify user credentials and/or request signature
</errortext>
</null>
If I use the CCP connector to connect to the ACS 4.2 Cloud Service, I get the following message when trying to view console: "Access denied. Invalid web session or API key in request" and an internal server error:
An unhandled exception occurred on the server
Details of this error below:
Error Reference Number:
_________________________
1381361803820
Request Information:
___________________
URI: /portal/client/apis/acsccpapi/console
Source: 192.168.56.1@192.168.56.1:63315
Method: GET
Authenticated User: User Email=tariq.iqbal@shapeblue.com, firstName=Corp, lastName=One, username=corp1
Params:
______________
w : 144
vm : 9e39c345-22de-4f30-a56f-b8b49a6176e2
cmd : thumbnail
t : 1381361798422
tenant : 65d946ae-a757-4244-a61c-736aec45f63d
h : 99
Headers:
______________
host : 192.168.56.11:8080
connection : keep-alive
accept : image/webp,*/*;q=0.8
user-agent : Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/30.0.1599.69 Safari/537.36 referer : http://192.168.56.11:8080/portal/portal/connector_resources/cloudplatform_fragment/getresources?serviceInstanceUUID=7f77cce9-5d97-4675-91bc-f8a40cabaa59&tenant=65d946ae-a757-4244-a61c-736aec45f63d
accept-encoding : gzip,deflate,sdch
accept-language : en-US,en;q=0.8
cookie : JSESSIONID=8C9D6913CBD23FAB8132CEF8EE03B989; lang=%3Cc%3Aout%20value%3D%22%24%7BpageContext.request.locale.language%7D%22%2F%3E
Cookies:
______________
JSESSIONID : 8C9D6913CBD23FAB8132CEF8EE03B989 lang : %3Cc%3Aout%20value%3D%22%24%7BpageContext.request.locale.language%7D%22%2F%3E
Error details:
______________
java.lang.NullPointerException
at com.citrix.cpbm.portal.fragment.controllers.AbstractAPIProxyController.handleRequest(AbstractAPIProxyController.java:101)
at com.citrix.cpbm.portal.fragment.controllers.AbstractAPIProxyController.request(AbstractAPIProxyController.java:48)
at sun.reflect.GeneratedMethodAccessor239.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at org.springframework.web.bind.annotation.support.HandlerMethodInvoker.invokeHandlerMethod(HandlerMethodInvoker.java:176)
Anyone? What is the recommended way to enable single sign on between CPBM 2.1 and ACS 4.2?
Ask, Discuss, Answer