Author: tejones
Date: 2009-03-31 16:53:45 -0400 (Tue, 31 Mar 2009)
New Revision: 672
Modified:
trunk/server/src/main/java/com/metamatrix/platform/security/session/service/SessionServiceImpl.java
Log:
TEIID-450 Changed Program Name to check for either "Integration Server" or
"null" in SessionServiceImpl. This will essentially treat "Integration
Server" as the default value if it is not set.
Modified:
trunk/server/src/main/java/com/metamatrix/platform/security/session/service/SessionServiceImpl.java
===================================================================
---
trunk/server/src/main/java/com/metamatrix/platform/security/session/service/SessionServiceImpl.java 2009-03-31
17:50:22 UTC (rev 671)
+++
trunk/server/src/main/java/com/metamatrix/platform/security/session/service/SessionServiceImpl.java 2009-03-31
20:53:45 UTC (rev 672)
@@ -234,7 +234,7 @@
//
// Validate VDB and version if logging on to server product...
//
- if (productName != null &&
productName.equals(MetaMatrixProductNames.MetaMatrixServer.PRODUCT_NAME)) {
+ if (productName == null ||
productName.equals(MetaMatrixProductNames.MetaMatrixServer.PRODUCT_NAME)) {
String vdbName = (String)properties.get(ProductInfoConstants.VIRTUAL_DB);
String vdbVersion =
(String)properties.get(ProductInfoConstants.VDB_VERSION);
VirtualDatabaseID vdbID = null;
Show replies by date