Author: mposolda
Date: 2011-11-03 19:45:55 -0400 (Thu, 03 Nov 2011)
New Revision: 7970
Modified:
components/sso/trunk/agent/src/main/java/org/gatein/sso/agent/opensso/OpenSSOAgent.java
Log:
GTNPORTAL-2171 OpenAM bug during integration with Windows (hardcoded line separator)
Modified:
components/sso/trunk/agent/src/main/java/org/gatein/sso/agent/opensso/OpenSSOAgent.java
===================================================================
---
components/sso/trunk/agent/src/main/java/org/gatein/sso/agent/opensso/OpenSSOAgent.java 2011-11-03
23:26:09 UTC (rev 7969)
+++
components/sso/trunk/agent/src/main/java/org/gatein/sso/agent/opensso/OpenSSOAgent.java 2011-11-03
23:45:55 UTC (rev 7970)
@@ -187,7 +187,7 @@
{
Properties properties = new Properties();
- String[] tokens = response.split("\n");
+ String[] tokens = response.split(System.getProperty("line.separator"));
String name = null;
for(String token: tokens)
{