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

mmoayyed pushed a commit to branch SYNCOPE-1545
in repository https://gitbox.apache.org/repos/asf/syncope.git


The following commit(s) were added to refs/heads/SYNCOPE-1545 by this push:
     new b732d00  add AUP support; off by default
b732d00 is described below

commit b732d00b9fb62689d032fb65e79c47db02ccba1d
Author: Misagh Moayyed <[email protected]>
AuthorDate: Fri Mar 13 15:53:56 2020 +0330

    add AUP support; off by default
---
 pom.xml                             | 5 +++++
 wa/pom.xml                          | 4 ++++
 wa/src/main/resources/wa.properties | 6 +++++-
 3 files changed, 14 insertions(+), 1 deletion(-)

diff --git a/pom.xml b/pom.xml
index eb74eec..d13c03e 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1626,6 +1626,11 @@ under the License.
       </dependency>
       <dependency>
         <groupId>org.apereo.cas</groupId>
+        <artifactId>cas-server-support-aup-webflow</artifactId>
+        <version>${cas.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>org.apereo.cas</groupId>
         <artifactId>cas-server-webapp-config</artifactId>
         <version>${cas.version}</version>
       </dependency>
diff --git a/wa/pom.xml b/wa/pom.xml
index 85cff67..56c3193 100644
--- a/wa/pom.xml
+++ b/wa/pom.xml
@@ -170,6 +170,10 @@ under the License.
     </dependency>
     <dependency>
       <groupId>org.apereo.cas</groupId>
+      <artifactId>cas-server-support-aup-webflow</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>org.apereo.cas</groupId>
       <artifactId>cas-server-support-rest-service-registry</artifactId>
     </dependency>
     <dependency>
diff --git a/wa/src/main/resources/wa.properties 
b/wa/src/main/resources/wa.properties
index 14e07af..9a0d56e 100644
--- a/wa/src/main/resources/wa.properties
+++ b/wa/src/main/resources/wa.properties
@@ -26,4 +26,8 @@ cas.authn.oidc.jwksFile=file:${conf.directory}/oidc.keystore
 
 # Disable access to the login endpoint
 # if no target application is specified.
-cas.sso.allow-missing-service-parameter=false
+cas.sso.allow-missing-service-parameter=true
+
+# Disable the acceptable usage policy
+# by default for now.
+cas.acceptableUsagePolicy.enabled=false

Reply via email to