From d75d8f31b8634376c8c15576dcd8a8bf032ad3b8 Mon Sep 17 00:00:00 2001 From: "Maria Odea B. Ching" Date: Mon, 7 Jan 2008 09:11:40 +0000 Subject: [PATCH] [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 --- .../org/apache/maven/archiva/web/util/ArchivaXworkUser.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() -- 2.39.5