saml 2.0 - OneLogin for Java: how to handle different environments? -


i assume must common scenario, need support sso/slo in different environments using different domains. solve using multiple properties files:

onelogin.saml.dev.properties onelogin.saml.uat.properties onelogin.saml.prod.properties 

in reality though, settings same except domain names. example:

onelogin.saml2.sp.assertion_consumer_service.url = https://dev.myapp.com/ssoauthentication onelogin.saml2.sp.assertion_consumer_service.url = https://uat.myapp.com/ssoauthentication onelogin.saml2.sp.assertion_consumer_service.url = https://www.myapp.com/ssoauthentication 

is there way use 1 file , specify environment, or root domain use ?

thank you,
simon


Comments