gaiaresources / ala-citizenscience

Automatically exported from code.google.com/p/ala-citizenscience
1 stars 4 forks source link

Allow maven profile based configuration of the LoginUrlAuthenticationEntryPoint #367

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I want to be able to enable logins over HTTPS/SSL, to do so I want to make the 
following changes:

1) Change climatewatch-servlet.xml such that the bdrsAuthenticationEntryPoint 
filter configuration is:
<bean id="bdrsAuthenticationEntryPoint" 
class="org.springframework.security.web.authentication.LoginUrlAuthenticationEnt
ryPoint">
        <property name="loginFormUrl" value="/home.htm?signin=true" />
        <property name="useForward" value="${bdrs.security.login.useForward}" />
        <property name="forceHttps" value="${bdrs.security.login.forceHttps}" />
    </bean>

2) Add values for the above parameters into pom.xml.

Original issue reported on code.google.com by chris.go...@gmail.com on 14 Nov 2012 at 4:52

GoogleCodeExporter commented 9 years ago

Original comment by chris.go...@gmail.com on 14 Nov 2012 at 10:22