This module implements a Custom Authenticator for Keycloak. It is used to realize attribute based authorization, depending on the target Sevice Provider.
mvn clean package
cp target/*.jar $KEYCLOAK_HOME/standalone/deployments/
Afterwards build Keycloak
kc.sh build
- Go to Authentication menu
- Create o edit a custom flow
- Add execution
- Pick up SLSKey Authenticator from the list the Custom Authenticator
- Add config in the following format
{
"<client-name>": {
"<saml-attribute-friendly-name>": "<value>",
}
"<client-name>": {
"<saml-attribute-friendly-name>": "<value>",
"<saml-attribute-friendly-name>": "<value>",
}
[...]
}