From e9da1ef1ca14fb2a7c3bcdd59224517c65149f33 Mon Sep 17 00:00:00 2001 From: Michael Sultzaberger Date: Fri, 16 Jul 2021 13:05:40 -0700 Subject: [PATCH] SSP-3293 Final commits --- etc/portal/uPortal.properties | 7 + gradle/tasks/tomcat.gradle | 1 + .../contextOverrides/overridesContext.xml | 27 +++ .../uPortal/src/main/resources/logback.xml | 190 ++++++++++++++++++ 4 files changed, 225 insertions(+) create mode 100644 overlays/uPortal/out/production/resources/properties/contextOverrides/overridesContext.xml create mode 100644 overlays/uPortal/src/main/resources/logback.xml diff --git a/etc/portal/uPortal.properties b/etc/portal/uPortal.properties index b4f992667a..b7282ad54a 100644 --- a/etc/portal/uPortal.properties +++ b/etc/portal/uPortal.properties @@ -68,6 +68,13 @@ cas.ticketValidationFilter.service=${portal.protocol}://${portal.server}${portal org.apereo.portal.security.provider.cas.CasAssertionSecurityContextFactory.enabled=true #org.apereo.portal.security.provider.cas.CasAssertionSecurityContextFactory.credentialToken=ticket +## Some CAS servers, like the CAS server bundled with uPortal-start can not handle encoded service URLs. +## By default, the following value is set to true +## See https://groups.google.com/a/apereo.org/d/msg/uportal-user/44Uw1YP8_Mg/hLaTlEVZFAAJ +## for the discussion regarding this property +# +cas.ticketValidationFilter.encodeServiceUrl=false + ## ## LDAP ## diff --git a/gradle/tasks/tomcat.gradle b/gradle/tasks/tomcat.gradle index 8c2f184101..76ed523f06 100644 --- a/gradle/tasks/tomcat.gradle +++ b/gradle/tasks/tomcat.gradle @@ -15,6 +15,7 @@ dependencies { shared "org.apache.portals.pluto:pluto-container-driver-api:${plutoVersion}" shared "org.apache.portals.pluto:pluto-taglib:${plutoVersion}" shared "org.apereo.service.persondir:person-directory-api:${personDirectoryVersion}" + //Remove this for uPortal 5.8.1 shared "org.jasig.portal:uPortal-api-platform:${uPortalVersion}" shared "${portletApiDependency}" } diff --git a/overlays/uPortal/out/production/resources/properties/contextOverrides/overridesContext.xml b/overlays/uPortal/out/production/resources/properties/contextOverrides/overridesContext.xml new file mode 100644 index 0000000000..745af0b4be --- /dev/null +++ b/overlays/uPortal/out/production/resources/properties/contextOverrides/overridesContext.xml @@ -0,0 +1,27 @@ + + + + + diff --git a/overlays/uPortal/src/main/resources/logback.xml b/overlays/uPortal/src/main/resources/logback.xml new file mode 100644 index 0000000000..d17a4a0e04 --- /dev/null +++ b/overlays/uPortal/src/main/resources/logback.xml @@ -0,0 +1,190 @@ + + + + + + + + + + uPortal + + + true + + + + + + + + + ${catalina.base}/logs/portal/portal.log + + %-5level [%thread] %logger{36} %d{ISO8601} - %msg%n + + + ${catalina.base}/logs/portal/portal.log.%d{yyyy-MM-dd} + + + + + + + + ${catalina.base}/logs/portal/portal-events.log + + %-5level [%thread] %logger{36} %d{ISO8601} - %msg%n + + + ${catalina.base}/logs/portal/portal-events.log.%d{yyyy-MM-dd} + + + + + + + + ${catalina.base}/logs/portal/portal-tincan-events.log + + %-5level [%thread] %logger{36} %d{ISO8601} - %msg%n + + + ${catalina.base}/logs/portal/portal-tincan-events.log.%d{yyyy-MM-dd} + + + + + + + + ${catalina.base}/logs/audit/portal.audit.log + + %-5level [%thread] %logger{36} %d{ISO8601} - %msg%n + + + ${catalina.base}/logs/audit/portal.audit.log.%d{yyyy-MM-dd} + + + + + + + + ${catalina.base}/logs/jgroups/portal.jgroups.log + + %-5level [%thread] %logger{36} %d{ISO8601} - %msg%n + + + ${catalina.base}/logs/jgroups/portal.jgroups.log.%d{yyyy-MM-dd} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file