kylin-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From shaofeng...@apache.org
Subject kylin git commit: KYLIN-1219 set SAML responseSkew to 10 minutes
Date Tue, 05 Jan 2016 06:34:45 GMT
Repository: kylin
Updated Branches:
  refs/heads/2.x-staging 255cfb73d -> f6469367a


KYLIN-1219 set SAML responseSkew to 10 minutes


Project: http://git-wip-us.apache.org/repos/asf/kylin/repo
Commit: http://git-wip-us.apache.org/repos/asf/kylin/commit/f6469367
Tree: http://git-wip-us.apache.org/repos/asf/kylin/tree/f6469367
Diff: http://git-wip-us.apache.org/repos/asf/kylin/diff/f6469367

Branch: refs/heads/2.x-staging
Commit: f6469367a6b587dacbef7cee334b19595c496891
Parents: 255cfb7
Author: shaofengshi <shaofengshi@apache.org>
Authored: Tue Jan 5 14:33:24 2016 +0800
Committer: shaofengshi <shaofengshi@apache.org>
Committed: Tue Jan 5 14:34:37 2016 +0800

----------------------------------------------------------------------
 server/src/main/resources/kylinSecurity.xml | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/kylin/blob/f6469367/server/src/main/resources/kylinSecurity.xml
----------------------------------------------------------------------
diff --git a/server/src/main/resources/kylinSecurity.xml b/server/src/main/resources/kylinSecurity.xml
index 51dd601..f9884c7 100644
--- a/server/src/main/resources/kylinSecurity.xml
+++ b/server/src/main/resources/kylinSecurity.xml
@@ -415,7 +415,9 @@
 		</bean>
 
 		<!-- SAML 2.0 WebSSO Assertion Consumer -->
-		<bean id="webSSOprofileConsumer" class="org.springframework.security.saml.websso.WebSSOProfileConsumerImpl"/>
+		<bean id="webSSOprofileConsumer" class="org.springframework.security.saml.websso.WebSSOProfileConsumerImpl">
+			<property name="responseSkew" value="600"/> <!-- 10 minutes -->
+		</bean>
 
 		<!-- SAML 2.0 Holder-of-Key WebSSO Assertion Consumer -->
 		<bean id="hokWebSSOprofileConsumer" class="org.springframework.security.saml.websso.WebSSOProfileConsumerHoKImpl"/>
@@ -430,7 +432,9 @@
 		<bean id="ecpprofile" class="org.springframework.security.saml.websso.WebSSOProfileECPImpl"/>
 
 		<!-- SAML 2.0 Logout Profile -->
-		<bean id="logoutprofile" class="org.springframework.security.saml.websso.SingleLogoutProfileImpl"/>
+		<bean id="logoutprofile" class="org.springframework.security.saml.websso.SingleLogoutProfileImpl">
+			<property name="responseSkew" value="600"/> <!-- 10 minutes -->
+		</bean>
 
 		<!-- Bindings, encoders and decoders used for creating and parsing messages -->
 		<bean id="postBinding" class="org.springframework.security.saml.processor.HTTPPostBinding">


Mime
View raw message