Hi all,

It seems setting the claims in the response is incomplete at [1]
<https://github.com/wso2-extensions/identity-inbound-auth-cas/blob/master/components/cas-inbound-authenticator/src/main/java/org/wso2/carbon/identity/sso/cas/util/CASSSOUtil.java#L239>
Infact
we don't have to handle claim mappings by our selves. It is handled while
the user is authenticated. We can get the attributes directly from
authentication result. Please refer [2]
<https://github.com/wso2-extensions/identity-inbound-auth-saml-cloud/blob/5.2.0-M1/components/org.wso2.carbon.identity.sso.saml.cloud/src/main/java/org/wso2/carbon/identity/sso/saml/cloud/util/SAMLSSOUtil.java#L1023>.
This is a basic scenario in the flow. We need to get this fixed and
release.

[1] https://github.com/wso2-extensions/identity-inbound-
auth-cas/blob/master/components/cas-inbound-authenticator/src/main/java/
org/wso2/carbon/identity/sso/cas/util/CASSSOUtil.java#L239
[2]
https://github.com/wso2-extensions/identity-inbound-auth-saml-cloud/blob/5.2.0-M1/components/org.wso2.carbon.identity.sso.saml.cloud/src/main/java/org/wso2/carbon/identity/sso/saml/cloud/util/SAMLSSOUtil.java#L1023

On Wed, Nov 16, 2016 at 12:54 PM, Hasintha Indrajee <[email protected]>
wrote:

>
>
> On Wed, Nov 16, 2016 at 12:25 PM, Hasintha Indrajee <[email protected]>
> wrote:
>
>>
>>
>> On Tue, Nov 15, 2016 at 5:41 PM, Hasintha Indrajee <[email protected]>
>> wrote:
>>
>>> Hi all,
>>>
>>> Please find the below fix for this issue. This includes an API change.
>>> Please review and merge this fix.
>>>
>>> [1] https://github.com/wso2-extensions/identity-inbound-auth-cas/pull/10
>>>
>>
>> This fix only returns subject. I think we need to improve it to return
>> attributes as well.
>>
>
> Sorry. Not getting attributes is a general behaviour I have observed for
> super tenant users as well. I configured requested claims and still
> couldn't get user claims. There seems to be an issue.
>
>>
>>> On Tue, Nov 15, 2016 at 2:52 PM, Malaka Silva <[email protected]> wrote:
>>>
>>>> Kanapriya can you have a quick look and update with findings please?
>>>>
>>>> On Tue, Nov 15, 2016 at 11:33 AM, Hasintha Indrajee <[email protected]>
>>>> wrote:
>>>>
>>>>> Hi All,
>>>>>
>>>>> CAS is not working when we register a SaaS application and when I am
>>>>> trying to login from a different tenant user. This should be supported by
>>>>> CAS authentication as it is a basic requirement.
>>>>>
>>>>> --
>>>>> Hasintha Indrajee
>>>>> WSO2, Inc.
>>>>> Mobile:+94 771892453
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>>
>>>> Best Regards,
>>>>
>>>> Malaka Silva
>>>> Senior Technical Lead
>>>> M: +94 777 219 791
>>>> Tel : 94 11 214 5345
>>>> Fax :94 11 2145300
>>>> Skype : malaka.sampath.silva
>>>> LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
>>>> Blog : http://mrmalakasilva.blogspot.com/
>>>>
>>>> WSO2, Inc.
>>>> lean . enterprise . middleware
>>>> https://wso2.com/signature
>>>> http://www.wso2.com/about/team/malaka-silva/
>>>> <http://wso2.com/about/team/malaka-silva/>
>>>> https://store.wso2.com/store/
>>>>
>>>> Don't make Trees rare, we should keep them with care
>>>>
>>>
>>>
>>>
>>> --
>>> Hasintha Indrajee
>>> WSO2, Inc.
>>> Mobile:+94 771892453
>>>
>>>
>>
>>
>> --
>> Hasintha Indrajee
>> WSO2, Inc.
>> Mobile:+94 771892453
>>
>>
>
>
> --
> Hasintha Indrajee
> WSO2, Inc.
> Mobile:+94 771892453
>
>


-- 
Hareendra Chamara Philips
*Software  Engineer*
Mobile : +94 (0) 767 184161
[email protected]
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to