站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBOSS Portal 2.6 API 英文版文档

LDAPExtUserModuleImpl - JBOSS Portal 2.6 API 英文版文档


org.jboss.portal.identity2.ldap
Class LDAPExtUserModuleImpl

java.lang.Object
  extended byorg.jboss.portal.identity2.ldap.LDAPUserModuleImpl
      extended byorg.jboss.portal.identity2.ldap.LDAPExtUserModuleImpl
All Implemented Interfaces:
UserModule

public class LDAPExtUserModuleImpl
extends LDAPUserModuleImpl

Version:
$Revision: 1.1 $
Author:
Boleslaw Dawidowicz

Field Summary
 
Fields inherited from class org.jboss.portal.identity2.ldap.LDAPUserModuleImpl
 
Constructor Summary
LDAPExtUserModuleImpl()
           
 
Method Summary
 User createUser(java.lang.String userName, java.lang.String password, java.lang.String realEmail)
          Creates a new user with the specified name.
 User findUserById(java.lang.Object id)
          Retrieve a user by its id.
 User findUserById(java.lang.String id)
          Retrieve a user by its id.
 User findUserByUserName(java.lang.String userName)
          Retrieve a user by its name.
 java.util.Set findUsers(int offset, int limit)
          Get a range of users.
 java.util.Set findUsersFilteredByUserName(java.lang.String filter, int offset, int limit)
          Get a range of users.
 int getUserCount()
          Returns the number of users.
 void removeUser(java.lang.Object id)
          Remove a user.
 
Methods inherited from class org.jboss.portal.identity2.ldap.LDAPUserModuleImpl
createUserInstance, getConnectionContext, getContainerDN, getUidAttributeID, getUserProfileModule, setConnectionContext, setContainerDN, setUidAttributeID, setUserProfileModule
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LDAPExtUserModuleImpl

public LDAPExtUserModuleImpl()
Method Detail

findUserByUserName

public User findUserByUserName(java.lang.String userName)
                        throws IdentityException,
                               java.lang.IllegalArgumentException,
                               NoSuchUserException
Description copied from interface: UserModule
Retrieve a user by its name.

Specified by:
findUserByUserName in interface UserModule
Overrides:
findUserByUserName in class LDAPUserModuleImpl
Throws:
IdentityException
java.lang.IllegalArgumentException
NoSuchUserException

findUserById

public User findUserById(java.lang.Object id)
                  throws IdentityException,
                         java.lang.IllegalArgumentException,
                         NoSuchUserException
Description copied from interface: UserModule
Retrieve a user by its id.

Specified by:
findUserById in interface UserModule
Overrides:
findUserById in class LDAPUserModuleImpl
Throws:
IdentityException
java.lang.IllegalArgumentException
NoSuchUserException

findUserById

public User findUserById(java.lang.String id)
                  throws IdentityException,
                         java.lang.IllegalArgumentException,
                         NoSuchUserException
Description copied from interface: UserModule
Retrieve a user by its id.

Specified by:
findUserById in interface UserModule
Overrides:
findUserById in class LDAPUserModuleImpl
Throws:
IdentityException
java.lang.IllegalArgumentException
NoSuchUserException

createUser

public User createUser(java.lang.String userName,
                       java.lang.String password,
                       java.lang.String realEmail)
                throws IdentityException,
                       java.lang.IllegalArgumentException
Description copied from interface: UserModule
Creates a new user with the specified name.

Specified by:
createUser in interface UserModule
Overrides:
createUser in class LDAPUserModuleImpl
Throws:
IdentityException
java.lang.IllegalArgumentException

removeUser

public void removeUser(java.lang.Object id)
                throws IdentityException,
                       java.lang.IllegalArgumentException
Description copied from interface: UserModule
Remove a user.

Specified by:
removeUser in interface UserModule
Overrides:
removeUser in class LDAPUserModuleImpl
Throws:
IdentityException
java.lang.IllegalArgumentException

findUsers

public java.util.Set findUsers(int offset,
                               int limit)
                        throws IdentityException,
                               java.lang.IllegalArgumentException
Description copied from interface: UserModule
Get a range of users.

Specified by:
findUsers in interface UserModule
Overrides:
findUsers in class LDAPUserModuleImpl
Throws:
IdentityException
java.lang.IllegalArgumentException

findUsersFilteredByUserName

public java.util.Set findUsersFilteredByUserName(java.lang.String filter,
                                                 int offset,
                                                 int limit)
                                          throws IdentityException,
                                                 java.lang.IllegalArgumentException
Description copied from interface: UserModule
Get a range of users.

Specified by:
findUsersFilteredByUserName in interface UserModule
Overrides:
findUsersFilteredByUserName in class LDAPUserModuleImpl
Throws:
IdentityException
java.lang.IllegalArgumentException

getUserCount

public int getUserCount()
                 throws IdentityException,
                        java.lang.IllegalArgumentException
Description copied from interface: UserModule
Returns the number of users.

Specified by:
getUserCount in interface UserModule
Overrides:
getUserCount in class LDAPUserModuleImpl
Throws:
IdentityException
java.lang.IllegalArgumentException