com.atlassian.jira.user.osuser
Class JiraOFBizAccessProvider
java.lang.Object
com.opensymphony.user.provider.ofbiz.OFBizAbstractProvider
com.atlassian.jira.user.osuser.JiraOFBizAccessProvider
- All Implemented Interfaces:
- AccessProvider, UserProvider, Serializable
public final class JiraOFBizAccessProvider
- extends OFBizAbstractProvider
- implements AccessProvider
A new implementation of AccessProvider written to not have concurrency and performance issues associated with com.opensymphony.user.provider.ofbiz.OFBizAbstractProvider.
Currently this is just a copy/paste with a small modification to inGroup(String userName, String groupName) to get it to run quicker.
- Since:
- v4.0
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JiraOFBizAccessProvider
public JiraOFBizAccessProvider()
addToGroup
public boolean addToGroup(String userName,
String groupName)
- Specified by:
addToGroup
in interface AccessProvider
create
public boolean create(String name)
- Specified by:
create
in interface UserProvider
- Overrides:
create
in class OFBizAbstractProvider
flushCaches
public void flushCaches()
- Specified by:
flushCaches
in interface UserProvider
- Overrides:
flushCaches
in class OFBizAbstractProvider
handles
public boolean handles(String name)
- Specified by:
handles
in interface UserProvider
inGroup
public boolean inGroup(String userName,
String groupName)
- Specified by:
inGroup
in interface AccessProvider
init
public boolean init(Properties properties)
- Specified by:
init
in interface UserProvider
- Overrides:
init
in class OFBizAbstractProvider
list
public List<String> list()
- Specified by:
list
in interface UserProvider
- Overrides:
list
in class OFBizAbstractProvider
listGroupsContainingUser
public List<String> listGroupsContainingUser(String userName)
- Specified by:
listGroupsContainingUser
in interface AccessProvider
listUsersInGroup
public List<String> listUsersInGroup(String groupname)
- Specified by:
listUsersInGroup
in interface AccessProvider
load
public boolean load(String name,
Entity.Accessor accessor)
- Specified by:
load
in interface UserProvider
- Overrides:
load
in class OFBizAbstractProvider
remove
public boolean remove(String name)
- Specified by:
remove
in interface UserProvider
- Overrides:
remove
in class OFBizAbstractProvider
removeFromGroup
public boolean removeFromGroup(String username,
String groupname)
- Specified by:
removeFromGroup
in interface AccessProvider
Copyright © 2002-2009 Atlassian. All Rights Reserved.