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.html 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 cas-user+unsubscr...@apereo.org. To view this discussion on the web visit https://groups.google.com/a/apereo.org/d/msgid/cas-user/43b23656-cd30-47f1-98e7-4942641eb223%40apereo.org.