Class CanvasUserRoleProvider
java.lang.Object
org.opencastproject.userdirectory.canvas.CanvasUserRoleProvider
- All Implemented Interfaces:
org.opencastproject.security.api.RoleProvider,org.opencastproject.security.api.UserProvider
public class CanvasUserRoleProvider
extends Object
implements org.opencastproject.security.api.UserProvider, org.opencastproject.security.api.RoleProvider
-
Field Summary
Fields inherited from interface org.opencastproject.security.api.UserProvider
ALL_ORGANIZATIONS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidactivate(org.osgi.service.component.ComponentContext cc) longIterator<org.opencastproject.security.api.Role> Iterator<org.opencastproject.security.api.User> getName()List<org.opencastproject.security.api.Role> getRolesForUser(String userName) Iterator<org.opencastproject.security.api.User> getUsers()voidinvalidate(String userName) org.opencastproject.security.api.UservoidsetOrgDirectory(org.opencastproject.security.api.OrganizationDirectoryService orgDirectory) voidsetSecurityService(org.opencastproject.security.api.SecurityService securityService) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opencastproject.security.api.UserProvider
findUsers
-
Constructor Details
-
CanvasUserRoleProvider
public CanvasUserRoleProvider()
-
-
Method Details
-
activate
public void activate(org.osgi.service.component.ComponentContext cc) throws org.osgi.service.cm.ConfigurationException - Throws:
org.osgi.service.cm.ConfigurationException
-
setOrgDirectory
public void setOrgDirectory(org.opencastproject.security.api.OrganizationDirectoryService orgDirectory) -
setSecurityService
public void setSecurityService(org.opencastproject.security.api.SecurityService securityService) -
getRolesForUser
- Specified by:
getRolesForUserin interfaceorg.opencastproject.security.api.RoleProvider
-
findRoles
public Iterator<org.opencastproject.security.api.Role> findRoles(String query, org.opencastproject.security.api.Role.Target target, int offset, int limit) - Specified by:
findRolesin interfaceorg.opencastproject.security.api.RoleProvider
-
getName
- Specified by:
getNamein interfaceorg.opencastproject.security.api.UserProvider
-
getUsers
- Specified by:
getUsersin interfaceorg.opencastproject.security.api.UserProvider
-
loadUser
- Specified by:
loadUserin interfaceorg.opencastproject.security.api.UserProvider
-
countUsers
public long countUsers()- Specified by:
countUsersin interfaceorg.opencastproject.security.api.UserProvider
-
getOrganization
- Specified by:
getOrganizationin interfaceorg.opencastproject.security.api.RoleProvider- Specified by:
getOrganizationin interfaceorg.opencastproject.security.api.UserProvider
-
findUsers
public Iterator<org.opencastproject.security.api.User> findUsers(String query, int offset, int limit) - Specified by:
findUsersin interfaceorg.opencastproject.security.api.UserProvider
-
invalidate
- Specified by:
invalidatein interfaceorg.opencastproject.security.api.UserProvider
-