Reply To: Handling dynamic security constraints

Splash Forums Rewrite Users Handling dynamic security constraints Reply To: Handling dynamic security constraints

#24651

A custom condition is the way to go here. You should have a look at the source code of JAASRoles to get a general idea of how it works. It should be easy to adapt for your specific use case:

https://github.com/ocpsoft/rewrite/blob/master/config-servlet/src/main/java/org/ocpsoft/rewrite/servlet/config/JAASRoles.java#L33