Heya!

How do I tell shiro that my SSL sits on 8443 instead of 443, if my http port is 
8080? The following does not work:

[main]
ssl.port = 8443

[urls]
/admin/** = ssl

Access to http://host:8080/admin/foo redirects to https://host:8080/admin/foo, 
not https://host:8443/admin/foo.

Am I misunderstanding something about the configuration?

(It looks to me like PortFilter.onAccessDenied() appends the 
request.getServerPort() instead of the port. If I now read this correctly 
[might not, this is my first foray into Shiro source], it appears that you can 
only have SSL on 443 or 80, or else it must be on the same port as the request 
itself (?))

/Janne

Reply via email to