Whats the variable name thats got the user principal from authentication?
We don't want to do any attribute resolution, just getting the
username/principal from the authentication.
class SSOAttrRelease {
def Map<String, List<Object>> run(final Object... args) {
def currentAttributes = args[0]
def logger = args[1]
logger.debug("Current attributes received are {}",
currentAttributes)
return[APPUSER:assertion.currentAttributes ]
}
currentAttributes don't have anything.. may be, because we dont use a
resolver.
I cant call this in a groovy script:
assertion.getPrincipal().getName()
--
- 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/CACNfiMKngnJ%3D9o%2BLSu%3DZOxw%3DNxMF7N%3DNNqgrXXujVLZ%2Ba3rb7Q%40mail.gmail.com.