H,
I'm using spring-security-core:2.0-RC5 Grails plugin , i searched on how to force the browser to use HTTPS on specific application's pages i found the below configuration :
grails.plugin.springsecurity.auth.forceHttps = true
grails.plugin.springsecurity.secureChannel.definition = [
'/login/**': 'REQUIRES_SECURE_CHANNEL'
]
when i apply this in the config, and try access the login page, it shows me this page can't be displayed
, and the protocol is still HTTP
,i know there is a way to run the whole application onHTTPS
by using grails run-app -https
but what i need to achieve is to force some pages to use HTTPS
, is there a way to make this ?
Thanks