com.atlassian.seraph.util
Class GroupCache

java.lang.Object
  extended bycom.atlassian.seraph.util.GroupCache

public class GroupCache
extends java.lang.Object

A cache of request (via the remote user) -> group lookups


Field Summary
static java.lang.String GROUP_CACHE_KEY
           
 
Constructor Summary
GroupCache()
           
 
Method Summary
static java.util.Collection getGroups(javax.servlet.http.HttpServletRequest request)
          Get a list of the groups for the current remote user.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

GROUP_CACHE_KEY

public static final java.lang.String GROUP_CACHE_KEY
See Also:
Constant Field Values
Constructor Detail

GroupCache

public GroupCache()
Method Detail

getGroups

public static java.util.Collection getGroups(javax.servlet.http.HttpServletRequest request)
Get a list of the groups for the current remote user. These groups are cache in a request attribute.



Copyright © 2008 Atlassian Software Systems Pty Ltd. All Rights Reserved.