com.wewebu.ow.server.ecmimpl.opencmis.users
Class OwUsersRepositoryLDAP

java.lang.Object
  extended by com.wewebu.ow.server.ecmimpl.opencmis.users.OwUsersRepositoryLDAP
All Implemented Interfaces:
OwUsersRepository

public class OwUsersRepositoryLDAP
extends Object
implements OwUsersRepository

User repository implementation based on a connection to a LDAP server.

Alfresco Workdesk
Copyright (c) Alfresco Software, Inc.
All rights reserved.

For licensing information read the license.txt file or
go to: http://wiki.alfresco.com

Since:
4.1.1.0

Constructor Summary
OwUsersRepositoryLDAP(com.wewebu.ow.server.util.ldap.OwLdapConnector ldapConnector)
           
 
Method Summary
 Set<OwGroup> findGroupsForUserID(String userId)
           
 Set<OwGroup> findGroupsMatching(String pattern)
           
 Set<OwUserRole> findRolesMatching(String pattern)
           
 com.wewebu.ow.server.ecm.OwUserInfo findUserByID(String id)
          Tries to find a user by his/her ID.
 com.wewebu.ow.server.ecm.OwObjectCollection findUsersMatching(String pattern)
          Find users that match the pattern.
 com.wewebu.ow.server.util.ldap.OwLdapConnector getLdapConnector()
          Getter for used OwLdapConnector instance
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OwUsersRepositoryLDAP

public OwUsersRepositoryLDAP(com.wewebu.ow.server.util.ldap.OwLdapConnector ldapConnector)
Method Detail

findUserByID

public com.wewebu.ow.server.ecm.OwUserInfo findUserByID(String id)
                                                 throws OwUserRepositoryException
Description copied from interface: OwUsersRepository
Tries to find a user by his/her ID.

Specified by:
findUserByID in interface OwUsersRepository
Returns:
The user with the given ID or null if not found.
Throws:
OwUserRepositoryException

findGroupsMatching

public Set<OwGroup> findGroupsMatching(String pattern)
                                throws OwUserRepositoryException
Specified by:
findGroupsMatching in interface OwUsersRepository
Throws:
OwUserRepositoryException

findGroupsForUserID

public Set<OwGroup> findGroupsForUserID(String userId)
                                 throws OwUserRepositoryException
Specified by:
findGroupsForUserID in interface OwUsersRepository
Throws:
OwUserRepositoryException

findUsersMatching

public com.wewebu.ow.server.ecm.OwObjectCollection findUsersMatching(String pattern)
                                                              throws OwUserRepositoryException
Description copied from interface: OwUsersRepository
Find users that match the pattern.

Specified by:
findUsersMatching in interface OwUsersRepository
Returns:
a collection of OwUser.
Throws:
OwUserRepositoryException

findRolesMatching

public Set<OwUserRole> findRolesMatching(String pattern)
                                  throws OwUserRepositoryException
Specified by:
findRolesMatching in interface OwUsersRepository
Throws:
OwUserRepositoryException

getLdapConnector

public com.wewebu.ow.server.util.ldap.OwLdapConnector getLdapConnector()
Getter for used OwLdapConnector instance

Returns:
OwLdapConnector
Since:
4.1.1.1


Copyright © 2013 Alfresco Business Solutions. All Rights Reserved.