hi,

I clone the cas-management-overlay 
<https://github.com/apereo/cas-management-overlay> project and want to 
modify some configuration like disable ssl settings. After read the docs on 
boot-features-external-config-profile-specific-properties 
<https://docs.spring.io/spring-boot/docs/current/reference/html/boot-features-external-config.html#boot-features-external-config-profile-specific-properties>
 , 
I created a file named *application.default.properties* based on 
*application.properties*, and changed some settings and then run mvn clean 
package to repackage the war file. Finally, I run the cas-management 
project via *java -jar target/cas-management.war 
--spring.profiles.active=default* or *java -Dspring.profiles.active=default 
-jar target/cas-management.war*, but it didn't work as expected. The 
settings in *application.default.properties *was not applied. However I 
could see the console log which shown that it was already using the default 
profile.

<https://lh3.googleusercontent.com/-7ngKeo56vwI/WssC2VcEQgI/AAAAAAAAA9I/6MX6yl9ecn4fhjJf0S4D8oTHXKXHpCmAgCLcBGAs/s1600/%25E5%25BE%25AE%25E4%25BF%25A1%25E6%2588%25AA%25E5%259B%25BE_20180409140542.png>

-- 
- Website: https://apereo.github.io/cas
- Gitter Chatroom: https://gitter.im/apereo/cas
- List Guidelines: https://goo.gl/1VRrw7
- Contributions: https://goo.gl/mh7qDG
--- 
You received this message because you are subscribed to the Google Groups "CAS 
Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cas-user+unsubscr...@apereo.org.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/fd07c3f6-31e3-4ce6-9a5f-8a7536e4c6db%40apereo.org.

Reply via email to