org.objectweb.jonas.security.realm.factory.JResourceMemoryMBean Interface Reference

Inherits org.objectweb.jonas.security.realm.factory.JResourceMBean.

Inherited by org.objectweb.jonas.security.realm.factory.JResourceMemory.

Inheritance diagram for org.objectweb.jonas.security.realm.factory.JResourceMemoryMBean:

Inheritance graph
[legend]
Collaboration diagram for org.objectweb.jonas.security.realm.factory.JResourceMemoryMBean:

Collaboration graph
[legend]
List of all members.

Public Member Functions

void addUser (String username, String password) throws Exception

Package Functions

void addGroup (String groupname) throws Exception
void addRole (String rolename) throws Exception
void removeUser (String username) throws Exception
void removeGroup (String groupname) throws Exception
void removeRole (String rolename) throws Exception
String[] listRoles ()
String[] listGroups ()

Detailed Description

Define the methods for the MBean
Author:
Florent Benoit

Definition at line 33 of file JResourceMemoryMBean.java.


Member Function Documentation

void org.objectweb.jonas.security.realm.factory.JResourceMemoryMBean.addGroup String  groupname  )  throws Exception [package]
 

Add a group with a given name

Parameters:
groupname the name of the group
Exceptions:
Exception if the group already exists

Implemented in org.objectweb.jonas.security.realm.factory.JResourceMemory.

void org.objectweb.jonas.security.realm.factory.JResourceMemoryMBean.addRole String  rolename  )  throws Exception [package]
 

Add a role with a given name

Parameters:
rolename the name of the role
Exceptions:
Exception if the role already exists

Implemented in org.objectweb.jonas.security.realm.factory.JResourceMemory.

void org.objectweb.jonas.security.realm.factory.JResourceMemoryMBean.addUser String  username,
String  password
throws Exception
 

Add a user with a given principal and credential

Parameters:
username the name of the user
password password of the user
Exceptions:
Exception if the user already exists

Implemented in org.objectweb.jonas.security.realm.factory.JResourceMemory.

String [] org.objectweb.jonas.security.realm.factory.JResourceMemoryMBean.listGroups  )  [package]
 

Get the groups

Returns:
the array of the groups

Implemented in org.objectweb.jonas.security.realm.factory.JResourceMemory.

String [] org.objectweb.jonas.security.realm.factory.JResourceMemoryMBean.listRoles  )  [package]
 

Get the roles

Returns:
the array of the roles

Implemented in org.objectweb.jonas.security.realm.factory.JResourceMemory.

void org.objectweb.jonas.security.realm.factory.JResourceMemoryMBean.removeGroup String  groupname  )  throws Exception [package]
 

Remove a group with a given name

Parameters:
groupname the name of the group
Exceptions:
Exception if the group was not found

Implemented in org.objectweb.jonas.security.realm.factory.JResourceMemory.

void org.objectweb.jonas.security.realm.factory.JResourceMemoryMBean.removeRole String  rolename  )  throws Exception [package]
 

Remove a role with a given name

Parameters:
rolename the name of the role
Exceptions:
Exception if the role was not found

Implemented in org.objectweb.jonas.security.realm.factory.JResourceMemory.

void org.objectweb.jonas.security.realm.factory.JResourceMemoryMBean.removeUser String  username  )  throws Exception [package]
 

Remove a user with a given principal and credential

Parameters:
username the name of the user
Exceptions:
Exception if the user was not found

Implemented in org.objectweb.jonas.security.realm.factory.JResourceMemory.


The documentation for this interface was generated from the following file:
Generated on Tue Feb 15 15:07:55 2005 for JOnAS by  doxygen 1.3.9.1