OK, well that config is wrong. ssl.enabled is in the wrong place, and I need
to explicitly add the redirect port number  to the ssl value i.e.,

/admin/** = authc,ssl[8443]

So now I have ssl access enabled and a redirect is working, all is working
now.

But still struggling on how/where to put the ssl.enabled flag in a Spring
config, so we can easily switch between dev and production environments?  In
a .ini file this goes in the 'main' section and I understand that somehow
the 'enabled' property of a OncePerRequestFilter needs to be set.

Any suggestions welcome, thank you.

Richard



--
View this message in context: 
http://shiro-user.582556.n2.nabble.com/configuring-ssl-access-through-spring-tp7578396p7578407.html
Sent from the Shiro User mailing list archive at Nabble.com.

Reply via email to