AtlasOfLivingAustralia / ala-cas

(Deprecated) ALA customisations of CAS webapp
http://auth.ala.org.au/cas/
0 stars 2 forks source link

ala-cas jsp uses hardcoded URLs to http://auth.ala.org.au #9

Closed mbohun closed 9 years ago

mbohun commented 9 years ago
bash-3.2$ pwd
/Users/hor22n/src/ala-cas_mbohun.git
bash-3.2$ find ./ -name "*.jsp" | xargs grep http | grep auth
.//src/main/webapp/WEB-INF/view/jsp/default/ui/casLoginView.jsp:                <p><spring:message code="screen.welcome.notRegistered" arguments="http://auth.ala.org.au/emmet/selfRegister.html"/></p>
.//src/main/webapp/WEB-INF/view/jsp/default/ui/casLoginView.jsp:                <p><spring:message code="screen.welcome.forgottenpassword" arguments="http://auth.ala.org.au/emmet/resetMyPassword.html"/></p>

make this configureable:

djtfmartin commented 9 years ago

Follow the approach in biocache-service which is reading the external config file in

/data/{{appName}}/config/{{appName}}-config.properties

djtfmartin commented 9 years ago

See

https://github.com/AtlasOfLivingAustralia/biocache-service/blob/master/src/main/webapp/WEB-INF/mainDispatcher-servlet.xml#L29

and copy this approach

m-r-c commented 9 years ago

Fixed in version 1.1.

Waiting on pull request #11