You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kylin.apache.org by sh...@apache.org on 2020/03/26 08:05:20 UTC

[kylin] branch master updated: KYLIN-4399 Redirect http url is not override as https when using vip

This is an automated email from the ASF dual-hosted git repository.

shaofengshi pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/kylin.git


The following commit(s) were added to refs/heads/master by this push:
     new 114db03  KYLIN-4399 Redirect http url is not override as https when using vip
114db03 is described below

commit 114db03f528eff6f76bd9528f905664d475b5be2
Author: Julian Pan <li...@ebay.com>
AuthorDate: Sun Mar 8 12:48:01 2020 +0800

    KYLIN-4399 Redirect http url is not override as https when using vip
---
 server/src/main/resources/kylinSecurity.xml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/server/src/main/resources/kylinSecurity.xml b/server/src/main/resources/kylinSecurity.xml
index 7dbb3f5..0003a5f 100644
--- a/server/src/main/resources/kylinSecurity.xml
+++ b/server/src/main/resources/kylinSecurity.xml
@@ -364,6 +364,7 @@
         <bean id="successRedirectHandler"
               class="org.springframework.security.web.authentication.SavedRequestAwareAuthenticationSuccessHandler">
             <property name="defaultTargetUrl" value="/models"/>
+            <property name="alwaysUseDefaultTargetUrl" value="true"/>
         </bean>
 
         <!-- Handler deciding where to redirect user after failed login -->