Using CAS (Central Authentication Service)
This is most preferred way to achieve SSO. CPBM also ships CAS, which runs on the same server as CPBM. Any Cloud Service, which is capable of authenticating using CAS, can be added to the CAS server to achieve SSO.
Add the service URL in the configuration file "deployerConfigContext.xml" as show below:
<bean id="serviceRegistryDao" class="org.jasig.cas.services.InMemoryServiceRegistryDaoImpl"> <property name="registeredServices"> <list> <bean class="org.jasig.cas.services.RegisteredServiceImpl"> <property name="id" value="0" /> <property name="name" value="CloudPortal" /> <property name="description" value="CloudPortal Service" /> <property name="serviceId" value="http://CPBMHost/portal/portal/j_spring_security_check”/> </bean> <bean class="org.jasig.cas.services.RegisteredServiceImpl"> <property name="id" value="1" /> <property name="name" value="Cloud Service" /> <property name="description" value="Cloud Service XaaS" /> <property name="serviceId" value="<xaas.service.url>" /> </bean> </list> </property> </bean>
Comments