Definition at line 61 of file osbusermgr_i.h.
typedef corba::osbadm::UserMgr::UserGroupSeq OSB_CORBA::UserMgr_i::UserGroupSeq [private] |
typedef corba::osbadm::UserMgr::UserSeq OSB_CORBA::UserMgr_i::UserSeq [private] |
OSB_CORBA::UserMgr_i::UserMgr_i | ( | PortableServer::POA_ptr | rootPoa, | |
PortableServer::POAManager_ptr | poaManager | |||
) |
Constructor.
rootPoa | Pointer to Root POA. | |
poaManager | Pointer to POA Manager. |
OSB_CORBA::UserMgr_i::UserMgr_i | ( | const UserMgr_i & | ) | [private] |
Prevent copying: not implemented.
UserGroupSeq* OSB_CORBA::UserMgr_i::allUserGroups | ( | ) | throw (CORBA::SystemException) |
Get the list of all user groups.
UserWriter_ptr OSB_CORBA::UserMgr_i::createUser | ( | const Utf8String & | loginName, | |
const Utf8String & | password | |||
) | throw (CORBA::SystemException, OsbCorbaException) |
Creates a new user.
loginName | Login name of the user. | |
password | Password of the user. |
OsbCorbaException |
|
void OSB_CORBA::UserMgr_i::createUserPoa | ( | PortableServer::POA_ptr | rootPoa, | |
PortableServer::POAManager_ptr | poaManager | |||
) | [private] |
Create User POA.
rootPoa | Root POA. | |
poaManager | POA Manager. |
void OSB_CORBA::UserMgr_i::createWriterPoa | ( | PortableServer::POA_ptr | rootPoa, | |
PortableServer::POAManager_ptr | poaManager | |||
) | [private] |
Create Writer POA.
rootPoa | Root POA. | |
poaManager | POA Manager. |
User_ptr OSB_CORBA::UserMgr_i::getUser | ( | const UserId & | userId | ) | throw (CORBA::SystemException, OsbCorbaException) |
Get OSB user object.
userId | The Id of the OSB user. |
OsbCorbaException | if the user does not exist. |
UserSeq* OSB_CORBA::UserMgr_i::getUsers | ( | ) | throw (CORBA::SystemException, OsbCorbaException) |
Get list of OSB users.
OsbCorbaException | in case of a database error while reading the users. |
User_ptr OSB_CORBA::UserMgr_i::login | ( | const Utf8String & | loginName, | |
const Utf8String & | password | |||
) | throw (CORBA::SystemException, OsbCorbaException) |
Enables a user to login.
loginName | Login name of the user. | |
password | Password of the user. |
OsbCorbaException | in case of database errors. |
Prevent assignment: not implemented.
CORBA::Boolean OSB_CORBA::UserMgr_i::removeUser | ( | const UserId & | userId, | |
CORBA::Boolean | noWait | |||
) | throw (CORBA::SystemException, OsbCorbaException) |
Delete an OSB user in the database.
userId | Id of the OSB user to remove. | |
noWait | Wait for database locks. |
OsbCorbaException | in case of a database error. |
UserGroup* OSB_CORBA::UserMgr_i::userGroup | ( | const UserGroupId & | grpId | ) | throw (CORBA::SystemException, OsbCorbaException) |
Get information about a user group.
OsbCorbaException | if the group does not exist or was not read from the database. |
UserGroupSeq* OSB_CORBA::UserMgr_i::userGroups | ( | const ModuleId & | modId | ) | throw (CORBA::SystemException) |
Get list of user groups for a module.
modId | The id of the module to use. |
User_ptr OSB_CORBA::UserMgr_i::userServant | ( | const OSB_LIB::OsbUser & | user | ) | [private] |
Get or create servant for an OSB user.
PortableServer::POA_ptr OSB_CORBA::UserMgr_i::writerPoa | ( | ) | const [inline] |
const std::string OSB_CORBA::UserMgr_i::IFC [static] |
Locators OSB_CORBA::UserMgr_i::userLoc_ [private] |
PortableServer::POA_var OSB_CORBA::UserMgr_i::userPoa_ [private] |
PortableServer::POA_var OSB_CORBA::UserMgr_i::writerPoa_ [private] |