...
/pom.xml (drivers mysql)
| Bloc de code |
|---|
|
diff --git a/pom.xml b/pom.xml
index 1fa6d03..ebda8cc 100755
--- a/pom.xml
+++ b/pom.xml
@@ -84,10 +84,10 @@
<project-site-path>/uportal/${project.version}</project-site-path>
<!-- The JDBC Driver used by uPortal -->
- <jdbc.groupId>org.hsqldb</jdbc.groupId>
- <jdbc.artifactId>hsqldb</jdbc.artifactId>
- <jdbc.version>${hsqldb.version}</jdbc.version>
-
+ <jdbc.groupId>mysql</jdbc.groupId>
+ <jdbc.artifactId>mysql-connector-java</jdbc.artifactId>
+ <jdbc.version>5.1.6</jdbc.version>
+
<!--
| Environment name and filters file for environment-specific build
| settings. By default <environment.name> is blank, and the filters
@@ -342,6 +342,11 @@
<version>${hsqldb.version}</version>
</dependency>
<dependency>
+ <groupId>mysql</groupId>
+ <artifactId>mysql-connector-java</artifactId>
+ <version>5.1.6</version>
+ </dependency>
+ <dependency>
<groupId>org.javassist</groupId>
<artifactId>javassist</artifactId>
<version>${javassist.version}</version>
|
/uportal-war/src/main/resources/properties/portal.properties (passage en français par défaut et pb au chargement de la base)
| Bloc de code |
|---|
|
diff --git a/uportal-war/src/main/resources/properties/portal.properties b/uportal-war/src/main/resources/properties/portal.properties
index 8392f38..b610113 100644
--- a/uportal-war/src/main/resources/properties/portal.properties
+++ b/uportal-war/src/main/resources/properties/portal.properties
@@ -206,7 +206,7 @@ org.jasig.portal.UserPreferencesManager.save_UserPreferences_at_logout=false
# underscore character.
#
org.jasig.portal.i18n.LocaleManager.locale_aware=true
-org.jasig.portal.i18n.LocaleManager.portal_locales=en_US,fr_FR,es_ES,ja_JP,sv_SE,de_DE,mk_MK,lv_LV
+org.jasig.portal.i18n.LocaleManager.portal_locales=fr_FR,en_US,es_ES,ja_JP,sv_SE,de_DE,mk_MK,lv_LV
# The number of recent PortalExceptions ProblemsTable should cache
@@ -274,7 +274,7 @@ org.jasig.portal.version=${project.version}
# Import/Export Thread Pool Configuration
#
org.jasig.portal.io.threadPool.initialThreads=0
-org.jasig.portal.io.threadPool.maxThreads=20
+org.jasig.portal.io.threadPool.maxThreads=1
org.jasig.portal.io.threadPool.queueSize=500
org.jasig.portal.io.threadPool.threadPriority=5
org.jasig.portal.io.threadPool.keepAliveSeconds=30
|
uportal-war/src/main/resources/properties/security.properties (logout cas avec redirect + ajout d'une variable qui représente le contexte du serveur CAS)
| Bloc de code |
|---|
|
diff --git a/uportal-war/src/main/resources/properties/security.properties b/uportal-war/src/main/resources/properties/security.properties
index 2de19c9..cb67036 100644
--- a/uportal-war/src/main/resources/properties/security.properties
+++ b/uportal-war/src/main/resources/properties/security.properties
@@ -48,17 +48,17 @@ credentialToken.root.cas=ticket
## (See comments in the LogoutServlet class)
## It would be better to escape the value of the url parameter, but since there are no parameters on the
## unescaped URL and since there are no further parameters on the logout URL, this does work.
-logoutRedirect.root=${environment.build.cas.protocol}://${environment.build.cas.server}/cas/logout?url=${environment.build.uportal.protocol}://${environment.build.uportal.server}${environment.build.uportal.context}/Login
+logoutRedirect.root=${environment.build.cas.protocol}://${environment.build.cas.server}${environment.build.cas.context}/logout?service=${environment.build.uportal.protocol}://${environment.build.uportal.server}${environment.build.uportal.context}/Login
## This is the factory that supplies the concrete authorization class
authorizationProvider=org.jasig.portal.security.provider.AuthorizationServiceFactoryImpl
## Login URL, if specified the CLogin channel will display a Login link with
## this URL instead of the standard userName/password form.
-org.jasig.portal.channels.CLogin.CasLoginUrl=${environment.build.cas.protocol}://${environment.build.cas.server}/cas/login?service=${environment.build.uportal.protocol}://${environment.build.uportal.server}${environment.build.uportal.context}/Login
+org.jasig.portal.channels.CLogin.CasLoginUrl=${environment.build.cas.protocol}://${environment.build.cas.server}${environment.build.cas.context}/login?service=${environment.build.uportal.protocol}://${environment.build.uportal.server}${environment.build.uportal.context}/Login
## URL of the CAS cleartext password service
-#org.jasig.cas3.extensions.clearpass.integration.uportal.PasswordCachingCasAssertionSecurityContextFactory.clearPassCasUrl=${environment.build.cas.protocol}://${environment.build.cas.server}/cas/clearPass
+#org.jasig.cas3.extensions.clearpass.integration.uportal.PasswordCachingCasAssertionSecurityContextFactory.clearPassCasUrl=${environment.build.cas.protocol}://${environment.build.cas.server}${environment.build.cas.context}/clearPass
|
uportal-war/src/main/webapp/WEB-INF/web.xml (ajout d'une variable qui représente le contexte du serveur CAS)
| Bloc de code |
|---|
|
diff --git a/uportal-war/src/main/webapp/WEB-INF/web.xml b/uportal-war/src/main/webapp/WEB-INF/web.xml
index 96ec7c0..5c46989 100644
--- a/uportal-war/src/main/webapp/WEB-INF/web.xml
+++ b/uportal-war/src/main/webapp/WEB-INF/web.xml
@@ -118,7 +118,7 @@
<filter-class>org.jasig.cas.client.validation.Cas20ProxyReceivingTicketValidationFilter</filter-class>
<init-param>
<param-name>casServerUrlPrefix</param-name>
- <param-value>${environment.build.cas.protocol}://${environment.build.cas.server}/cas</param-value>
+ <param-value>${environment.build.cas.protocol}://${environment.build.cas.server}${environment.build.cas.context}</param-value>
</init-param>
<init-param>
<param-name>serverName</param-name>
|
...