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
>
>
> https://apereo.github.io/cas/5.2.x/installation/Configuring-Service-Access-Strategy.html
>
>
> El lunes, 19 de marzo de 2018, Soumya Tripathy <[email protected] 
> <javascript:>> 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 <[email protected]>:
>>>
>>>> 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 [email protected].
>>>> 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
>>>>  
>>>> <https://groups.google.com/a/apereo.org/d/msgid/cas-user/581e6aed-ac7f-4067-a34d-1dc4b34fe0f4%40apereo.org?utm_medium=email&utm_source=footer>
>>>> .
>>>>
>>>
>>> -- 
>> - 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 [email protected] <javascript:>.
>> To view this discussion on the web visit 
>> https://groups.google.com/a/apereo.org/d/msgid/cas-user/73ce8115-4fbf-4510-b119-eef99966c514%40apereo.org
>>  
>> <https://groups.google.com/a/apereo.org/d/msgid/cas-user/73ce8115-4fbf-4510-b119-eef99966c514%40apereo.org?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
- 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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/6d1d8125-e134-4f30-9d7b-da0dbcd8146b%40apereo.org.

Reply via email to