shiro-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hitesh <>
Subject Re: Facing issue in reflecting URL = ROLE changes dynamically
Date Tue, 11 Oct 2016 15:55:52 GMT
First of all, I am using the ShiroFilterFactoryBean only. Here is the xml
configuration of that -

/<bean id="shiroFilter"
	<property name="securityManager" ref="securityManager" />
	<property name="loginUrl" value="/home/login.zul" />
	<property name="successUrl" value="/home/index.zul" />
	<property name="unauthorizedUrl" value="/home/unauthorized.zul" />
	<property name="filterChainDefinitions"

Now, when I save URL = Role Mapping from UI, I get reference of this bean
from application context and then invoke setFilterChainDefinition() method
on it. The exact lines are - 

*ApplicationContext appContext = SpringUtil.getApplicationContext();		

Later, as per your suggestion, I extended the ShiroFilterFactoryBean and
created my own user defined ShiroFilterBean which I attached in one of the
earlier reply. I actually want to know what exactly I am supposed to do in
the subclass. You have the file. You can suggest.

View this message in context:
Sent from the Shiro Developer mailing list archive at

View raw message