Author: anil.saldhana(a)jboss.com
Date: 2012-02-17 12:11:32 -0500 (Fri, 17 Feb 2012)
New Revision: 1407
Modified:
federation/trunk/picketlink-web/src/main/java/org/picketlink/identity/federation/web/util/ServerDetector.java
Log:
PLFED-246: correct the detection of AS7
Modified:
federation/trunk/picketlink-web/src/main/java/org/picketlink/identity/federation/web/util/ServerDetector.java
===================================================================
---
federation/trunk/picketlink-web/src/main/java/org/picketlink/identity/federation/web/util/ServerDetector.java 2012-02-17
14:22:41 UTC (rev 1406)
+++
federation/trunk/picketlink-web/src/main/java/org/picketlink/identity/federation/web/util/ServerDetector.java 2012-02-17
17:11:32 UTC (rev 1407)
@@ -66,10 +66,10 @@
{
}
- //If class is null
+ //If class is null - try the JBossAS7 and beyond
try
{
- clazz = SecurityActions.loadClass(me,
"org.jboss.as.server.Bootstrap");
+ clazz = SecurityActions.loadClass(me, "org.jboss.as.web.WebServer");
if (clazz != null)
{
jboss = true;
Show replies by date