Re: Can't get authorizedUrl to work

2021-05-03 Thread Steinar Bang
> Steinar Bang : > Platform: debian 10.9 "buster", openjdk-11 11.0.11+9-1~deb10u1, shiro 1.7.0 > I would like shiro to redirect to a page of my own instead of the > default 401 page. Er... my bad! I was editing the wrong shiro.ini file. I wondered why there was no role in it and found the

Can't get authorizedUrl to work

2021-05-03 Thread Steinar Bang
Platform: debian 10.9 "buster", openjdk-11 11.0.11+9-1~deb10u1, shiro 1.7.0 I would like shiro to redirect to a page of my own instead of the default 401 page. In the shiro.ini, I've tried unauthorizedUrl = /unauthorized and I've tried authc.unauthorizedUrl = /unauthorized and I've tried