mirror of
https://github.com/apache/archiva.git
synced 2025-02-22 01:44:47 +00:00
[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
This commit is contained in:
parent
53418d265d
commit
d75d8f31b8
@ -56,7 +56,7 @@ private Map<String, Object> getContextSession()
|
||||
|
||||
private SecuritySession getSecuritySession()
|
||||
{
|
||||
return (SecuritySession) getContextSession().get( SecuritySystemConstants.SECURITY_SESSION_KEY );
|
||||
return (SecuritySession) getContextSession().get( SecuritySession.ROLE );
|
||||
}
|
||||
|
||||
public String getActivePrincipal()
|
||||
|
Loading…
x
Reference in New Issue
Block a user