I'm looking to release custom attributes based off of the retrieved attributes from LDAP for an authenticated user. Current I have my cas.properties file setup to return all attributes for the authenticated user, but I would like to be able to do something like the following:
Take the pwdLastSet attribute from LDAP and create a new attribute called "pwdExpiresInXDays" which is equal to the number of days from the last change date minus our expiration policy for days until a password is expired. Or something like creating a list of groups where I only have the CN (the name of the group) in the list, versus the entire DN. But I'm not sure where I can do something like this. Or if i can. Especially if I want it to be a default released attribute for all services. I was thinking about possibly using a groovy script and using the CascadingPersonAttributeDao instead of the MergePersonAttributeDao Any help that you can provide is most appreciated. --Mike K. -- - CAS gitter chatroom: https://gitter.im/apereo/cas - CAS mailing list guidelines: https://apereo.github.io/cas/Mailing-Lists.html - CAS documentation website: https://apereo.github.io/cas - CAS project website: https://github.com/apereo/cas --- 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/c5e08e3b-7a6f-4835-88f4-af41366ea97d%40apereo.org.
