]> source.dussan.org Git - archiva.git/commitdiff
[MRM-628]
authorMaria Odea B. Ching <oching@apache.org>
Mon, 7 Jan 2008 09:11:40 +0000 (09:11 +0000)
committerMaria Odea B. Ching <oching@apache.org>
Mon, 7 Jan 2008 09:11:40 +0000 (09:11 +0000)
-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

archiva-web/archiva-webapp/src/main/java/org/apache/maven/archiva/web/util/ArchivaXworkUser.java

index 98b3ae96eed81b4aa6dd05315e0020cc4dccbb18..051c1ff1032672630ebca1cd257e6edab9c1ac1a 100644 (file)
@@ -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()