Author: matthew.hayes
Date: 2011-03-15 15:37:38 -0400 (Tue, 15 Mar 2011)
New Revision: 817
Modified:
picketlink-seam/trunk/picketlink-seam/src/main/java/org/picketlink/identity/seam/federation/configuration/SamlEndpoint.java
Log:
Added check for null before using StringUtil.getSystemPropertyAsString in constructor
Modified:
picketlink-seam/trunk/picketlink-seam/src/main/java/org/picketlink/identity/seam/federation/configuration/SamlEndpoint.java
===================================================================
---
picketlink-seam/trunk/picketlink-seam/src/main/java/org/picketlink/identity/seam/federation/configuration/SamlEndpoint.java 2011-03-15
19:15:38 UTC (rev 816)
+++
picketlink-seam/trunk/picketlink-seam/src/main/java/org/picketlink/identity/seam/federation/configuration/SamlEndpoint.java 2011-03-15
19:37:38 UTC (rev 817)
@@ -2,7 +2,7 @@
* JBoss, Home of Professional Open Source.
* Copyright 2008, Red Hat Middleware LLC, and individual contributors
* as indicated by the @author tags. See the copyright.txt file in the
-* distribution for a full listing of individual contributors.
+* distribution for a full listing of individual contributors.
*
* This is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as
@@ -43,7 +43,7 @@
this.service = service;
this.binding = binding;
this.location = StringUtil.getSystemPropertyAsString( location );
- this.responseLocation = StringUtil.getSystemPropertyAsString( responseLocation );
+ this.responseLocation = responseLocation != null ?
StringUtil.getSystemPropertyAsString( responseLocation ) : responseLocation;
}
public SamlService getService()
Show replies by date