Yii Framework Forum: Single Sign On - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Single Sign On Implementing single sign on Rate Topic: -----

#1 User is offline   Pavan Kumar L 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 1
  • Joined: 28-January 13

Posted 29 January 2013 - 12:24 PM

Dear all,
Single sign on - I know its pretty old topic here. But I have got a lot of doubts. I'm new to php as well as Yii.

First let me explain what I have understood about single sign on. Please correct me if I'm wrong.

1. Single Sign on is used to login to various application / subdomains of a domain.
2. Single Sign uses cookies as references.
3. Cookies should be shared across all the domains/sub domains for single sign on to work

So far I have gone through few posts here and have made few configurations as below

session' => array(
'class' => 'CDbHttpSession',
'connectionID' => 'db',
'sessionTableName' => 'session_table',
'cookieParams' => array('domain' => 'localhost.'),

),

For testing purpose I gave created to Yii applications located under localhost/xyz and localhost/login. My requirement is when I log in through localhost/login I should be log in to localhost/xyz

To achieve this do I need to make any changes to "UserIdentity" and if yes what are the changes do I need to make. Please guide me.

Regards,
Pavan
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users