Cisco Cisco Prime Home 6.3 Guida Dello Sviluppatore
Cisco Prime Home – Integration Guide
OL-28557-01 v5.0.1
61
Creating Control Panel sessions for
Single Sign On
Use Case
Create a 'bridge' between an external system and the ACS to provide proxied
authentication to the
Control Panel, implementing a single sign on solution for the subscriber.
Method
1. Determine the mac address of a device to use for the subscriber / device
for the control panel
a. Can come from a pre-determined mapping of arbitrary guids to macs
b. Can come from the mac parameter of the request
2. Split the mac address into oui and serial number
3. Create a control panel session by passing the oui / serial number into the
session service with an authenticated HTTP connection
4. Form a url out of: the oui, serial number, and session id
5. Redirect the browser
HTTP Interaction (Web Services)
Request
POST /prime-home/api/v1/sessions/controlPanel
{
{
"device": {
"sn": "001A2B999999",
"oui": "001A2B"
"oui": "001A2B"
}
}
Response
{
"cpSessionId": "527BBB943DAAE5838D11298EAC8442DABD3BC2A0",
"expires": "2010-12-06T22:55:35.860Z",
"subscriberCode": "testSubscriber",
"username": "testSubscriber1"
"expires": "2010-12-06T22:55:35.860Z",
"subscriberCode": "testSubscriber",
"username": "testSubscriber1"
}