Hi Durga

Once you have got Yanel running, e.g.

http://127.0.0.1:8080/yanel/

then you can enable CAS SSO for the "yanel-website" realm,
by uncommenting the configuration

<web-authenticator...
</web-authenticator>

inside

src/realms/yanel-website/realm.xml

Just restart Yanel and when you try to login to the "yanel-website"
realm, e.g.

https://127.0.0.1:8443/yanel/yanel-website/en/about.html?yanel.toolbar=on

then the authentication will go through CAS SSO.

If you have more Yanel specific questions, then you might want to
subscribe to the Yanel mailing lists additionally

http://www.yanel.org/mailing-lists.html

HTH

Michael

Am 28.08.14 00:17, schrieb Durga Prasad:
> Hi Michel,
>
> Due to urgent tasks, I could not start it.
> Now I started going through the documentation & code shared by u.
> I could download the code. Kindly let me know what is the entry point of
> your code.
>
> Thanks much,
> Regards,
> Durga Prasad
>
>
> On Sun, May 25, 2014 at 1:10 AM, Durga Prasad <[email protected]> wrote:
>
>> Hi Michael,
>> Thanks for your prompt reply.
>> Yes my 3 apps have identity management at the backend.
>> Thanks a lot for the knowledge shared..I will follow your code and will
>> try to customize to my requirements.
>>
>> Regards,
>> Prasad
>> On 24 May 2014 21:47, "Michael Wechner" <[email protected]> wrote:
>>
>>> Hi Prasad
>>>
>>> Am 24.05.14 00:15, schrieb Durga Prasad:
>>>> Hi Michael,
>>>> Here is my actual requirement.
>>>>
>>>> My company has 3 different Java applications which are in live and have
>>>> their own authentication systems.
>>>> I got a requirement to do SSO for these 3 apps.
>>>> Kindly advise me whether I can use CAS Binaries for this requirement.
>>>> Out of these 3 apps, 2 apps are not using spring framework where as 1
>>> app
>>>> is using spring framework.
>>>> Will it be a constraint?
>>> For the two apps which don't use spring you probably have to do a custom
>>> implementation of CAS.
>>> As mentioned before Yanel has also a custom implementation of CAS and
>>> you probably can copy a lot of the code from
>>> there. Please note that Yanel is supporting proxy tickets, and hence the
>>> code contains much more functionality than you probably need.
>>>> I did demo on the example given at jasig website.
>>>> I understood that it uses CAS server will do the centralised
>>>> authentication, but my applications have their own auth system.
>>>> So I don't need the auth part from CAS server rather I need only SSO
>>> part.
>>>> Is it possible to achieve my requirement?
>>> do your applications share the identity management on the backend?
>>>
>>> What I mean is if for example a user signs in to app1 with the username
>>> "alice", can the user also
>>> use this username for app2 and app3?
>>>
>>> Generally speaking I am very confident you can achieve your requirements
>>> with CAS, but to be certain one
>>> would have to know how well you can customize the code of the various
>>> applications.
>>>
>>> HTH
>>>
>>> Michael
>>>> Appreciate if you can share any documents explaining these basics.
>>>>
>>>> Regards,
>>>> Prasad
>>>>
>>>>
>>>>
>>>> On Fri, May 23, 2014 at 5:52 PM, Durga Prasad <[email protected]>
>>> wrote:
>>>>> Sure, Thank you.
>>>>>
>>>>>
>>>>> On Fri, May 23, 2014 at 2:29 PM, Michael Wechner <
>>>>> [email protected]> wrote:
>>>>>
>>>>>> Am 23.05.14 07:57, schrieb Durga Prasad:
>>>>>>> Hi Michael,
>>>>>>>
>>>>>>> Your help is greatly appreciated.
>>>>>>>
>>>>>>> Thanks much.
>>>>>>> I will go through it :)
>>>>>> reviewing it might also help us to further improve it :-)
>>>>>>
>>>>>> On the CAS side we have developed a custom authenticator and did some
>>>>>> JSP customization, but
>>>>>> this code is not Open Source yet. I hope to make it available as Open
>>>>>> Source as well in the near future.
>>>>>>
>>>>>> Thanks
>>>>>>
>>>>>> Michael
>>>>>>> Regards,
>>>>>>> Durga Prasad
>>>>>>>
>>>>>>> I
>>>>>>>
>>>>>>>
>>>>>>> On Fri, May 23, 2014 at 12:24 PM, Michael Wechner <
>>>>>> [email protected]
>>>>>>>> wrote:
>>>>>>>> Hi
>>>>>>>>
>>>>>>>> We have integrated CAS SSO with Yanel (which is an open source CMS
>>>>>> based
>>>>>>>> on java and XML), whereas you will find the code at
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>> https://github.com/wyona/yanel/blob/master/src/webapp/src/java/org/wyona/yanel/servlet/security/impl/CASWebAuthenticatorImpl.java
>>>>>>>> and some documentation about it at
>>>>>>>>
>>>>>>>> http://www.yanel.org/en/documentation/security/sso-using-cas.html
>>>>>>>>
>>>>>>>> HTH
>>>>>>>>
>>>>>>>> Michael
>>>>>>>>
>>>>>>>> Am 23.05.14 05:54, schrieb Durga Prasad:
>>>>>>>>> Hi Folks,
>>>>>>>>>
>>>>>>>>> I am new to SSO implementation.
>>>>>>>>> I want to develop a SSO component which can be integrable to java
>>>>>>>> projects
>>>>>>>>> using CAS sso. I did POC on the JASIG site example with Tomcat
>>> server.
>>>>>>>>> Now I need to develop a generic component which can fit to
>>>>>> Weblogic/Jboss
>>>>>>>>> servers. I want to implement it for my company applications. We
>>> have
>>>>>> the
>>>>>>>>> Authentication components already. We need SSO only.
>>>>>>>>> I understood from the example that for real time implantation to my
>>>>>> Java
>>>>>>>>> project, I can use the same CAS server but the need to replace the
>>> CAS
>>>>>>>>> client binaries with our own applications. Please correct me if I
>>> am
>>>>>>>> wrong.
>>>>>>>>> Kindly guide me to implement CAS sso.
>>>>>>>>> Thanks much.
>>>>>>>>>
>>>>>>>>> Regards,
>>>>>>>>> Prasad
>>>>>>>>> Reply
>>>>>>>>>  Forward
>>>>>>>>>
>>>>>>>> --
>>>>>>>> You are currently subscribed to [email protected] as:
>>>>>>>> [email protected]
>>>>>>>> To unsubscribe, change settings or access archives, see
>>>>>>>> http://www.ja-sig.org/wiki/display/JSG/cas-user
>>>>>>>>
>>>>>> --
>>>>>> You are currently subscribed to [email protected] as:
>>>>>> [email protected]
>>>>>> To unsubscribe, change settings or access archives, see
>>>>>> http://www.ja-sig.org/wiki/display/JSG/cas-user
>>>>>>
>>>
>>> --
>>> You are currently subscribed to [email protected] as:
>>> [email protected]
>>> To unsubscribe, change settings or access archives, see
>>> http://www.ja-sig.org/wiki/display/JSG/cas-user
>>>


-- 
You are currently subscribed to [email protected] as: 
[email protected]
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-user

Reply via email to