[CAS-5.2.2] Custom Attribute release

114 views
Skip to first unread message

Soumya Tripathy

unread,
Mar 19, 2018, 5:01:05 AM3/19/18
to CAS Community
Hi,
We are using CAS-5.2.2. We have the following scenario. 
There will be a custom input in the login form where user will provide some additional info(say team name). After successful login we want the same input (team name) to be release as an attribute to the caller service. 

I'm trying to look around custom attribute release policy and the webflow, but till now didn't get any clue.

Thanks,
Soumya

s 1

unread,
Mar 19, 2018, 5:34:29 AM3/19/18
to cas-...@apereo.org
Im using Ldap Authencation And  this link: https://apereo.github.io/cas/5.2.x/integration/Attribute-Resolution.html#
It's work fine :)

--
- Website: https://apereo.github.io/cas
- Gitter Chatroom: https://gitter.im/apereo/cas
- List Guidelines: https://goo.gl/1VRrw7
- Contributions: https://goo.gl/mh7qDG
---
You received this message because you are subscribed to the Google Groups "CAS Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cas-user+unsubscribe@apereo.org.
To view this discussion on the web visit https://groups.google.com/a/apereo.org/d/msgid/cas-user/581e6aed-ac7f-4067-a34d-1dc4b34fe0f4%40apereo.org.

Message has been deleted
Message has been deleted

Soumya Tripathy

unread,
Mar 19, 2018, 7:11:44 AM3/19/18
to CAS Community
Hi Thanks for the response. 
I'm still confused in the implementation part. 
Right now I'm getting 

<cas:serviceResponse xmlns:cas='http://www.yale.edu/tp/cas'>
    <cas:authenticationSuccess>
        <cas:user>username</cas:user>
        </cas:authenticationSuccess>
</cas:serviceResponse>

in the serviceValidate response, but I want to add a new attribute  <cas:team>Team1</cas:team> in the response.
Where team name will be provided by user while login into CAS, just like username.

IOTech Co., Ltd

unread,
Apr 21, 2018, 10:01:33 AM4/21/18
to CAS Community
@Soumya Tripathy. do you have any update on this bug ?

Vào 18:11:44 UTC+7 Thứ Hai, ngày 19 tháng 3 năm 2018, Soumya Tripathy đã viết:

Man H

unread,
Apr 21, 2018, 11:30:12 AM4/21/18
to cas-...@apereo.org
See



El lunes, 19 de marzo de 2018, Soumya Tripathy <soumy...@gmail.com> escribió:
Hi Thanks for the response. 
I'm still confused in the implementation part. 
Right now I'm getting 

<cas:serviceResponse xmlns:cas='http://www.yale.edu/tp/cas'>
    <cas:authenticationSuccess>
        <cas:user>username</cas:user>
        </cas:authenticationSuccess>
</cas:serviceResponse>

in the serviceValidate response, but I want to add a new attribute  <cas:team>Team1</cas:team> in the response.
Where team name will be provided by user while login into CAS, just like username.





On Monday, March 19, 2018 at 3:04:29 PM UTC+5:30, s 1 wrote:
Im using Ldap Authencation And  this link: https://apereo.github.io/cas/5.2.x/integration/Attribute-Resolution.html#
It's work fine :)
2018-03-19 16:01 GMT+07:00 Soumya Tripathy <soumy...@gmail.com>:
Hi,
We are using CAS-5.2.2. We have the following scenario. 
There will be a custom input in the login form where user will provide some additional info(say team name). After successful login we want the same input (team name) to be release as an attribute to the caller service. 

I'm trying to look around custom attribute release policy and the webflow, but till now didn't get any clue.

Thanks,
Soumya

--
- Website: https://apereo.github.io/cas
- Gitter Chatroom: https://gitter.im/apereo/cas
- List Guidelines: https://goo.gl/1VRrw7
- Contributions: https://goo.gl/mh7qDG
---
You received this message because you are subscribed to the Google Groups "CAS Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cas-user+u...@apereo.org.

--
- Website: https://apereo.github.io/cas
- Gitter Chatroom: https://gitter.im/apereo/cas
- List Guidelines: https://goo.gl/1VRrw7
- Contributions: https://goo.gl/mh7qDG
---
You received this message because you are subscribed to the Google Groups "CAS Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cas-user+unsubscribe@apereo.org.

IOTech Co., Ltd

unread,
Apr 21, 2018, 1:06:13 PM4/21/18
to CAS Community
i has config as below...but it not work, please help me

{
"@class" : "org.apereo.cas.services.RegexRegisteredService",
"serviceId" : "^(https|imaps|http)://.*",
"name" : "HTTPSandIMAPS",
"id" : 1039356577441984,
"description" : "This service definition authorizes all application urls that support HTTPS and IMAPS protocols.",
"evaluationOrder" : 1,
"accessStrategy" : {
"@class" : "org.apereo.cas.grouper.services.GrouperRegisteredServiceAccessStrategy",
"enabled" : true,
"ssoEnabled" : true,
"requireAllAttributes" : true,
"requiredAttributes" : {
"@class" : "java.util.HashMap",
"grouperAttributes" : [ "java.util.HashSet", [ "faculty" ] ]
},
"groupField" : "DISPLAY_EXTENSION"
}
}

Vào 22:30:12 UTC+7 Thứ Bảy, ngày 21 tháng 4 năm 2018, Manfredo Hopp đã viết:
See


Ray Bon

unread,
Apr 23, 2018, 12:06:43 PM4/23/18
to cas-...@apereo.org
What protocol is the client using?
Attribute release is with SAML 1.1 or CAS 3.0 protocol.

Ray
-- 
Ray Bon
Programmer analyst
Development Services, University Systems
2507218831 | CLE 019 | rb...@uvic.ca
Reply all
Reply to author
Forward
0 new messages