Sent from my iPhone

On Apr 22, 2012, at 12:16, Milt Epstein <[email protected]> wrote:

> On Fri, 20 Apr 2012, Dmitriy Kopylenko wrote:
> 
>> It will look like this:
>> 
>> ...
>> 
>>       {
>>           "id":"1",
>>           "serviceId":"https://www.google.com";,
>>           "name":"GOOGLE",
>>           "description":"Test Google service",
>>           "evaluationOrder":"1",
>>           *"allowedAttributes:["FirstName", "LastName", "Name", "Tokens"]*
>> 
>>       }
>> 
>> ...
>> 
>> Dmitriy.
> 
> That did it.  Thanks!
> 
> If I switch back to using InMemoryServiceRegistryDaoImpl, I'll look
> into defining beans for the registered services and their
> allowedAttributes.  But, using JsonServiceRegistryDao, it's nice
> having all this defined in a file, and one that's automatically
> reloaded periodically.  (Now, it would be nice not having to
> repeatedly define allowedAttributes, if say, you generally wanted all
> the services to get the same ones, but I can see how that would
> complicate things.)
> 

And that is possible too - simply set property 'ignoreAttributes' to 'true' on 
the reg. svs and all attributes will be exposed. 

D. 
 

> Milt
> 
> 
>> On Fri, Apr 20, 2012 at 10:02 AM, Milt Epstein <[email protected]>
>> wrote:
>>> On Fri, 20 Apr 2012, Dmitriy Kopylenko wrote:
>>> 
>>>> Is this the entire bean def?
>>>> 
>>>> <bean id="serviceRegistryDao"
>> class="org.jasig.cas.services.InMemoryServiceRegistryDaoImpl" />
>>> 
>>> Yep (when I'm using InMemoryServiceRegistryDaoImpl rather than
>>> JsonServiceRegistryDao).
>>> 
>>> 
>>>> Aren't you defining the registered services beans here along with
>>>> their 'allowedAttributes' collections?
>>> 
>>> Nope.  I now see some examples of that, but apparently things are
>>> working OK without my having specifically defined these things -- I
>>> can login, and attributes are being passed.  Perhaps the default
>>> behavior is sufficient for that.
>>> 
>>> In any case, wouldn't that only affect things when I'm using
>>> InMemoryServiceRegistryDaoImpl? How would I define the
>>> allowedAttributes when using JsonServiceRegistryDao?
>>> 
>>> Thanks.
> [ ... ]
> 
> Milt Epstein
> Applications Developer
> Graduate School of Library and Information Science (GSLIS)
> University of Illinois at Urbana-Champaign (UIUC)
> [email protected]
> 
> -- 
> 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