new configuration version

This commit is contained in:
haburger 2024-11-29 06:39:30 +00:00
parent 5cac99089c
commit 4104117bc7
5 changed files with 30 additions and 10 deletions

View File

@ -45,7 +45,7 @@ spec:
podDisruptionBudget:
maxUnavailable: "50%"
git:
tag: "r-868174843070c36c5da54e3a43d558da046b6ce7"
tag: "r-47502e417486789dcc0d887ec040d4cac6e4865d"
dir: "DEFAULT-ADN-AGOV-ADMIN-PROJECT/DEFAULT-ADN-AGOV-ADMIN-INV/auth"
credentials: "git-credentials"
keystores:

View File

@ -55,6 +55,12 @@ if (inargs['cd'] != null) {
// 2b) clean the url, if necessary
if (request.currentResource.replaceAll('^https:\\/\\/[^\\/]+\\/AUTH\\/ONBOARDING\\/', '').length() > 0) {
if (inargs['language'] && inargs['language'] != session['ch.nevis.session.user.language']) {
// language change, set the language cookie
def langCookie = "LANG=${inargs['language']}; Domain=${parameters.get('cookie.domain')}; Path=/"
response.setHeader('Set-Cookie', langCookie)
}
response.setStatus(AuthResponse.AUTH_CONTINUE)
response.setTransferDestination('/AUTH/ONBOARDING/')
response.setIsRedirectTransfer(true)

View File

@ -142,6 +142,8 @@
<property name="scriptTraceGroup" value="AGOVOP-ACCT"/>
<!-- source: pattern://2787b678d9cce5310a335419 -->
<property name="script" value="file:///var/opt/nevisauth/default/conf/OpOnbrdng-PreProcessing.groovy"/>
<!-- source: pattern://2787b678d9cce5310a335419 -->
<property name="parameter.cookie.domain" value=".agov-w.azure.adnovum.net"/>
</AuthState>
<AuthState name="OP-ONBRDNG-AuthenticationRealm_OP-ONBRDNG-SamlServiceProvider-ProcessResponse" class="ch.nevis.esauth.auth.states.saml.ServiceProviderState" final="false" resumeState="false">
<!-- source: pattern://9be76d365909bb2ec294569c -->

View File

@ -44,7 +44,7 @@ spec:
podDisruptionBudget:
maxUnavailable: "50%"
git:
tag: "r-868174843070c36c5da54e3a43d558da046b6ce7"
tag: "r-47502e417486789dcc0d887ec040d4cac6e4865d"
dir: "DEFAULT-ADN-AGOV-ADMIN-PROJECT/DEFAULT-ADN-AGOV-ADMIN-INV/logrend"
credentials: "git-credentials"
podSecurity:

View File

@ -13,14 +13,26 @@ application.language.source.3=gui
# source: pattern://6df66943ca713eed2a25d935
application.language.source.4=browser
# source: pattern://6df66943ca713eed2a25d935
velocity.input.encoding=UTF-8
# source: pattern://6df66943ca713eed2a25d935
velocity.output.encoding=UTF-8
# source: pattern://6df66943ca713eed2a25d935
application.inputs.htmlencode=false
# source: pattern://6df66943ca713eed2a25d935
application.inputs.htmlencode.guielems=false
# source: pattern://6df66943ca713eed2a25d935
application.render.content.type=text/html; charset=UTF-8
# source: pattern://6df66943ca713eed2a25d935
cache.revalidate.delay=-1
# source: pattern://6df66943ca713eed2a25d935, pattern://8401da6318c6915d689cdfc9
application.language.cookie.de=LANG:de:.agov-w.azure.adnovum.net
# source: pattern://6df66943ca713eed2a25d935, pattern://8401da6318c6915d689cdfc9
application.language.cookie.fr=LANG:fr:.agov-w.azure.adnovum.net
# source: pattern://6df66943ca713eed2a25d935, pattern://8401da6318c6915d689cdfc9
application.language.cookie.it=LANG:it:.agov-w.azure.adnovum.net
# source: pattern://6df66943ca713eed2a25d935, pattern://8401da6318c6915d689cdfc9
application.language.cookie.en=LANG:en:.agov-w.azure.adnovum.net
# source: pattern://6df66943ca713eed2a25d935
application.languages=en,de,fr,it
# source: pattern://6df66943ca713eed2a25d935
application.languages.default=en
# source: pattern://8401da6318c6915d689cdfc9
application.language.cookie.en=LANG:en:agov-w.azure.adnovum.net
# source: pattern://8401da6318c6915d689cdfc9
application.language.cookie.de=LANG:de:agov-w.azure.adnovum.net
# source: pattern://8401da6318c6915d689cdfc9
application.language.cookie.fr=LANG:fr:agov-w.azure.adnovum.net
# source: pattern://8401da6318c6915d689cdfc9
application.language.cookie.it=LANG:it:agov-w.azure.adnovum.net