com.opensymphony.user.adapter.pramati
Class PramatiUserManager

java.lang.Object
  extended bycom.opensymphony.user.adapter.pramati.PramatiUserManager
All Implemented Interfaces:
com.pramati.services.security.spi.UserManager

public class PramatiUserManager
extends java.lang.Object
implements com.pramati.services.security.spi.UserManager

DOCUMENT ME!

Version:
$Revision: 1.1.1.1 $
Author:
$author$

Constructor Summary
PramatiUserManager()
           
 
Method Summary
 boolean addGroup(java.lang.String name, java.util.List list, java.util.List list1)
           
 boolean addUser(java.lang.String name, java.lang.String password)
           
 boolean addUser(java.lang.String name, java.lang.String password, java.util.List list)
           
 boolean changePassword(java.lang.String name, java.lang.String oldPassword, java.lang.String newPassword)
           
 java.util.List getAllGroups()
           
 java.util.List getAllGroupsForUser(java.lang.String name)
           
 java.util.List getAllUsers()
           
 java.util.List getAllUsersForGroup(java.lang.String name)
           
 java.util.List getChildGroupsForGroup(java.lang.String s)
           
 java.util.Map getOptions()
           
 java.util.List getParentGroupsForGroup(java.lang.String s)
           
 void initialize(java.lang.String realmName, java.util.Map options)
           
 boolean modifyGroup(java.lang.String name, java.util.List users, java.util.List groups)
           
 boolean modifyUser(java.lang.String name, java.util.List groups)
           
 boolean removeChildGroupsForGroup(java.util.List list, java.lang.String s)
           
 boolean removeGroup(java.lang.String name)
           
 boolean removeUser(java.lang.String s)
           
 boolean removeUsersForGroup(java.util.List list, java.lang.String name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PramatiUserManager

public PramatiUserManager()
Method Detail

getAllGroups

public java.util.List getAllGroups()
                            throws com.pramati.services.security.UserManagerException
Specified by:
getAllGroups in interface com.pramati.services.security.spi.UserManager
Throws:
com.pramati.services.security.UserManagerException

getAllGroupsForUser

public java.util.List getAllGroupsForUser(java.lang.String name)
                                   throws com.pramati.services.security.UserManagerException
Specified by:
getAllGroupsForUser in interface com.pramati.services.security.spi.UserManager
Throws:
com.pramati.services.security.UserManagerException

getAllUsers

public java.util.List getAllUsers()
                           throws com.pramati.services.security.UserManagerException
Specified by:
getAllUsers in interface com.pramati.services.security.spi.UserManager
Throws:
com.pramati.services.security.UserManagerException

getAllUsersForGroup

public java.util.List getAllUsersForGroup(java.lang.String name)
                                   throws com.pramati.services.security.UserManagerException
Specified by:
getAllUsersForGroup in interface com.pramati.services.security.spi.UserManager
Throws:
com.pramati.services.security.UserManagerException

getChildGroupsForGroup

public java.util.List getChildGroupsForGroup(java.lang.String s)
                                      throws com.pramati.services.security.UserManagerException
Specified by:
getChildGroupsForGroup in interface com.pramati.services.security.spi.UserManager
Throws:
com.pramati.services.security.UserManagerException

getOptions

public java.util.Map getOptions()
Specified by:
getOptions in interface com.pramati.services.security.spi.UserManager

getParentGroupsForGroup

public java.util.List getParentGroupsForGroup(java.lang.String s)
                                       throws com.pramati.services.security.UserManagerException
Specified by:
getParentGroupsForGroup in interface com.pramati.services.security.spi.UserManager
Throws:
com.pramati.services.security.UserManagerException

addGroup

public boolean addGroup(java.lang.String name,
                        java.util.List list,
                        java.util.List list1)
                 throws com.pramati.services.security.UserManagerException
Specified by:
addGroup in interface com.pramati.services.security.spi.UserManager
Throws:
com.pramati.services.security.UserManagerException

addUser

public boolean addUser(java.lang.String name,
                       java.lang.String password)
                throws com.pramati.services.security.UserManagerException
Specified by:
addUser in interface com.pramati.services.security.spi.UserManager
Throws:
com.pramati.services.security.UserManagerException

addUser

public boolean addUser(java.lang.String name,
                       java.lang.String password,
                       java.util.List list)
                throws com.pramati.services.security.UserManagerException
Specified by:
addUser in interface com.pramati.services.security.spi.UserManager
Throws:
com.pramati.services.security.UserManagerException

changePassword

public boolean changePassword(java.lang.String name,
                              java.lang.String oldPassword,
                              java.lang.String newPassword)
                       throws com.pramati.services.security.UserManagerException
Specified by:
changePassword in interface com.pramati.services.security.spi.UserManager
Throws:
com.pramati.services.security.UserManagerException

initialize

public void initialize(java.lang.String realmName,
                       java.util.Map options)
                throws com.pramati.services.security.UserManagerException
Specified by:
initialize in interface com.pramati.services.security.spi.UserManager
Throws:
com.pramati.services.security.UserManagerException

modifyGroup

public boolean modifyGroup(java.lang.String name,
                           java.util.List users,
                           java.util.List groups)
                    throws com.pramati.services.security.UserManagerException
Specified by:
modifyGroup in interface com.pramati.services.security.spi.UserManager
Throws:
com.pramati.services.security.UserManagerException

modifyUser

public boolean modifyUser(java.lang.String name,
                          java.util.List groups)
                   throws com.pramati.services.security.UserManagerException
Specified by:
modifyUser in interface com.pramati.services.security.spi.UserManager
Throws:
com.pramati.services.security.UserManagerException

removeChildGroupsForGroup

public boolean removeChildGroupsForGroup(java.util.List list,
                                         java.lang.String s)
                                  throws com.pramati.services.security.UserManagerException
Specified by:
removeChildGroupsForGroup in interface com.pramati.services.security.spi.UserManager
Throws:
com.pramati.services.security.UserManagerException

removeGroup

public boolean removeGroup(java.lang.String name)
                    throws com.pramati.services.security.UserManagerException
Specified by:
removeGroup in interface com.pramati.services.security.spi.UserManager
Throws:
com.pramati.services.security.UserManagerException

removeUser

public boolean removeUser(java.lang.String s)
                   throws com.pramati.services.security.UserManagerException
Specified by:
removeUser in interface com.pramati.services.security.spi.UserManager
Throws:
com.pramati.services.security.UserManagerException

removeUsersForGroup

public boolean removeUsersForGroup(java.util.List list,
                                   java.lang.String name)
                            throws com.pramati.services.security.UserManagerException
Specified by:
removeUsersForGroup in interface com.pramati.services.security.spi.UserManager
Throws:
com.pramati.services.security.UserManagerException

See www.opensymphony.com for more information.