Author: anil.saldhana(a)jboss.com
Date: 2011-01-25 00:01:57 -0500 (Tue, 25 Jan 2011)
New Revision: 650
Modified:
federation/trunk/picketlink-web/src/main/java/org/picketlink/identity/federation/web/servlets/IDPServlet.java
Log:
deal with config not avail in web
Modified:
federation/trunk/picketlink-web/src/main/java/org/picketlink/identity/federation/web/servlets/IDPServlet.java
===================================================================
---
federation/trunk/picketlink-web/src/main/java/org/picketlink/identity/federation/web/servlets/IDPServlet.java 2011-01-25
04:54:12 UTC (rev 649)
+++
federation/trunk/picketlink-web/src/main/java/org/picketlink/identity/federation/web/servlets/IDPServlet.java 2011-01-25
05:01:57 UTC (rev 650)
@@ -260,7 +260,7 @@
String configPath = context.getRealPath( "/WEB-INF/picketlink-sts.xml"
);
File stsConfigFile = configPath != null ? new File( configPath ) : null;
- if( configPath == null || !stsConfigFile.exists() )
+ if( stsConfigFile == null || !stsConfigFile.exists() )
sts.installDefaultConfiguration();
else
sts.installDefaultConfiguration( configPath );
Show replies by date