There might be "easier" ways to do this:

- use the existing ldap authentication handlers and configure each with the 
appropriate search base
- use a single and existing ldap authentication handler, but expand your 
search base to include every and all groups

Pros and cons to each approach of course. Otherwise, you are going to have 
modify the service metadata to include the new setting.

That said, I think it's interesting to think about how the authentication 
layer may have access to incoming services. I haven't yet evaluated this 
thoroughly, but it would potentially prove useful for CAS-1270 [1]

Misagh

[1] https://issues.jasig.org/browse/CAS-1270

> -----Original Message-----
> From: Juan [mailto:[email protected]]
> Sent: Tuesday, April 16, 2013 2:24 AM
> To: [email protected]
> Subject: [cas-user] How to get service parameter in custom
> AuthenticationHandler?
>
> How to get service parameter Single Sign On (Jasig CAS) LDAP Hi All!! I 
> want
> to create a custom AuthenticationHandler (Something like
> BindLdapAuthenticationHandler) to modifify searchBase Attribute for lookup
> LDAP, but, i haven't found the right way to get 'service' paramater and
> determine the searchBase property (ou=Group1,dc=example,dc=com when 
> service
> is WebAppUrl1 and ou=Group2,dc=example,dc=com when service is WebAppUrl2).
>
> Any ideas? Thanks in advance!
>
> --
> 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