Hi guys, im trying to configure access strategy to a service. So I have a unauthorizedRedirectUrl, 1 requiredAttributes and 1 rejectedAttributes
"accessStrategy" : {
"@class" : "org.apereo.cas.services.DefaultRegisteredServiceAccessStrategy",
"enabled" : true,
"unauthorizedRedirectUrl": "
https://xxx.xxx.xx/xx/acc-blocked.html",
"requiredAttributes" : {
"@class" : "java.util.HashMap",
"udlAccountStatus" : [ "java.util.HashSet", [ "Active" ] ]
},
"rejectedAttributes" : {
"@class" : "java.util.HashMap",
"udlAccountStatus" : ["java.util.HashSet", [ "Blocked" ] ]
}
}
}
But When I log in as account1 with udlAccountStatus set to "Active" it redirect me at "
https://xxx.xxx.xx/xx/compte-blocked.html". But it should redirect me to my service...
Moreover is it possible to configure another unauthorizedRedirectUrl? For example my udlAccountStatus is set to "Waiting", I'd like to redirect the user to
https://xxx.xxx.xx/xx/acc-waiting.htmlBest regards,