Is there a cas developer group?

On Mon, Feb 12, 2018 at 1:21 PM, Jeffrey Ramsay <[email protected]>
wrote:

> All -
>
> Is it possible to extend the following query within the current framework?
>
> cas.authn.attributeRepository.jdbc[0].sql=select * from cas_attrs where
> {0}
>
> I can hardcode a value {0} Column=XYZ and it will return the correct data
> however, I have been unsuccessful in my attempts to update the code to ... 
> from
> cas_attrs where {0} {1}. This should evaluate to uid=someone and
> group=somegroup
>
> The CasPersonDirectoryConfiguration.java and
> PrincipalAttributesProperties.java files were modded in an attempt to
> pass a new variable which is failing.
>
> Also, I switched the following to a hash map (ordered) but the system only
> appears to access one value.
>
> jdbcDao.setQueryAttributeMapping(Collections.singletonMap("username",
> jdbc.getUsername()));
>
> /*
>                 final Map<String, String> mapAttributes = new HashMap<>();
>                 mapAttributes.put("username", "uid");
>                 jdbcDao.setQueryAttributeMapping(mapAttributes);
> */
>
> Please help if you can.
>
> Thanks,
> -Jeff
>
> --
> - 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/CA%2BTBYOSXFyLp2xj5-
> HXbB0DGrbbgg9GDvMFuNa811-mR%3D0D-MA%40mail.gmail.com
> <https://groups.google.com/a/apereo.org/d/msgid/cas-user/CA%2BTBYOSXFyLp2xj5-HXbB0DGrbbgg9GDvMFuNa811-mR%3D0D-MA%40mail.gmail.com?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/CA%2BTBYOTdx3CoxewSQ6O18G6CqfQeVB2X9P93P9aSUeQX%2BmgxoA%40mail.gmail.com.

Reply via email to