From: Maria Odea B. Ching Date: Mon, 7 Jan 2008 09:11:40 +0000 (+0000) Subject: [MRM-628] X-Git-Tag: archiva-1.0.1~24 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=d75d8f31b8634376c8c15576dcd8a8bf032ad3b8;p=archiva.git [MRM-628] -changed to the appropriate key used for getting the security session from the session map git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@609534 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/archiva-web/archiva-webapp/src/main/java/org/apache/maven/archiva/web/util/ArchivaXworkUser.java b/archiva-web/archiva-webapp/src/main/java/org/apache/maven/archiva/web/util/ArchivaXworkUser.java index 98b3ae96e..051c1ff10 100644 --- a/archiva-web/archiva-webapp/src/main/java/org/apache/maven/archiva/web/util/ArchivaXworkUser.java +++ b/archiva-web/archiva-webapp/src/main/java/org/apache/maven/archiva/web/util/ArchivaXworkUser.java @@ -56,7 +56,7 @@ public class ArchivaXworkUser private SecuritySession getSecuritySession() { - return (SecuritySession) getContextSession().get( SecuritySystemConstants.SECURITY_SESSION_KEY ); + return (SecuritySession) getContextSession().get( SecuritySession.ROLE ); } public String getActivePrincipal()