Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristopher Frost2012-09-18 10:41:35 -0400
committerChristopher Frost2012-09-18 10:41:35 -0400
commit46e7abc0d9a197e5dce90e7705948f954fe12906 (patch)
tree2117df6bd4504a48f3a74e1978f8e011150436d3 /org.eclipse.virgo.management.console
parentc7fdd10f21e1b9f0a4efa745847bab56331c2b08 (diff)
downloadorg.eclipse.virgo.kernel-46e7abc0d9a197e5dce90e7705948f954fe12906.tar.gz
org.eclipse.virgo.kernel-46e7abc0d9a197e5dce90e7705948f954fe12906.tar.xz
org.eclipse.virgo.kernel-46e7abc0d9a197e5dce90e7705948f954fe12906.zip
388433 - Web admin console authentication fails
Diffstat (limited to 'org.eclipse.virgo.management.console')
-rw-r--r--org.eclipse.virgo.management.console/.classpath2
-rw-r--r--org.eclipse.virgo.management.console/src/main/java/org/eclipse/virgo/management/console/internal/AdminHttpContext.java4
2 files changed, 3 insertions, 3 deletions
diff --git a/org.eclipse.virgo.management.console/.classpath b/org.eclipse.virgo.management.console/.classpath
index 1f64a1a0..56bad194 100644
--- a/org.eclipse.virgo.management.console/.classpath
+++ b/org.eclipse.virgo.management.console/.classpath
@@ -20,7 +20,7 @@
<classpathentry kind="var" path="KERNEL_IVY_CACHE/org.eclipse.osgi/org.eclipse.osgi.services/3.3.0.v20110513/org.eclipse.osgi.services-3.3.0.v20110513.jar" sourcepath="/KERNEL_IVY_CACHE/org.eclipse.osgi/org.eclipse.osgi.services/3.3.0.v20110110/org.eclipse.osgi.services-sources-3.3.0.v20110110.jar"/>
<classpathentry kind="var" path="KERNEL_IVY_CACHE/org.apache.commons/com.springsource.org.apache.commons.fileupload/1.2.0.v20110525/com.springsource.org.apache.commons.fileupload-1.2.0.v20110525.jar" sourcepath="/KERNEL_IVY_CACHE/org.apache.commons/com.springsource.org.apache.commons.fileupload/1.2.1/com.springsource.org.apache.commons.fileupload-sources-1.2.1.jar"/>
<classpathentry kind="var" path="KERNEL_IVY_CACHE/org.jolokia/org.jolokia.osgi/1.0.2/org.jolokia.osgi-1.0.2.jar"/>
- <classpathentry kind="var" path="KERNEL_IVY_CACHE/org.eclipse.virgo.mirrored/javax.servlet/3.0.0.v201112011016/javax.servlet-3.0.0.v201112011016.jar" sourcepath="/APPS_IVY_CACHE/javax.servlet/com.springsource.javax.servlet/2.5.0/com.springsource.javax.servlet-sources-2.5.0.jar"/>
+ <classpathentry kind="var" path="KERNEL_IVY_CACHE/org.eclipse.virgo.mirrored/javax.servlet/3.0.0.v201112011016/javax.servlet-3.0.0.v201112011016.jar" sourcepath="/KERNEL_IVY_CACHE/javax.servlet/com.springsource.javax.servlet/2.5.0/com.springsource.javax.servlet-sources-2.5.0.jar"/>
<classpathentry kind="var" path="KERNEL_IVY_CACHE/org.eclipse.virgo.mirrored/org.slf4j.api/1.6.4.v20120130-2120/org.slf4j.api-1.6.4.v20120130-2120.jar" sourcepath="/KERNEL_IVY_CACHE/org.slf4j/com.springsource.slf4j.api/1.6.1/com.springsource.slf4j.api-sources-1.6.1.jar"/>
<classpathentry kind="var" path="KERNEL_IVY_CACHE/org.junit/com.springsource.org.junit/4.7.0/com.springsource.org.junit-4.7.0.jar" sourcepath="/KERNEL_IVY_CACHE/org.junit/com.springsource.org.junit/4.7.0/com.springsource.org.junit-sources-4.7.0.jar"/>
<classpathentry kind="output" path="target/classes"/>
diff --git a/org.eclipse.virgo.management.console/src/main/java/org/eclipse/virgo/management/console/internal/AdminHttpContext.java b/org.eclipse.virgo.management.console/src/main/java/org/eclipse/virgo/management/console/internal/AdminHttpContext.java
index 000ab1ec..9054289d 100644
--- a/org.eclipse.virgo.management.console/src/main/java/org/eclipse/virgo/management/console/internal/AdminHttpContext.java
+++ b/org.eclipse.virgo.management.console/src/main/java/org/eclipse/virgo/management/console/internal/AdminHttpContext.java
@@ -62,9 +62,9 @@ public class AdminHttpContext implements HttpContext {
int colon = credentials.indexOf(':');
String userid = credentials.substring(0, colon);
String password = credentials.substring(colon + 1);
-
+
try {
- Subject subject = login(request.getSession(false), userid, password);
+ Subject subject = login(request.getSession(true), userid, password);
if(subject == null){
return reject(request, response);
}

Back to the top