- I have got DB mysql handler to auth users and AD.
- DB mysql table has got memberof column and others like pass etc . Cell
memberof has "GRP1" value. I'm testing this by:
servis-1.json
"requiredAttributes" : {
"@class" : "java.util.HashMap",
"memberOf" : [ "java.util.HashSet", [ "CN=maskeddata", "GRP1" ] ]
}
First value in hasset is "CN=maskeddata".This is policy for users coming
from DB hander directly from AD. And all above works. I would like to
add second... group to mysql table .I think that column memberof for
user kowalski could have
db table
-------------
login| memberfof
kowalski| "GRP1","GRP2"
ann|"GRP1"
The question is how to prepare content of cell memberof for user who has 2
groups to coowork what is in Haset in json file.
Policy could look like this for testing memeber of and this is ok.
"memberOf" : [ "java.util.HashSet", [ "CN=maskeddata", "GRP1" ,"GRP2" ]
]
Best Regards.
--
- 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/f553d077-38aa-43f8-9d2b-d7a15d314ecbn%40apereo.org.