org.ow2.jonas.security.internal.realm.principal
Interface GroupMBean

All Known Implementing Classes:
Group

public interface GroupMBean

This interface define the MBeans methods

Author:
Florent Benoit

Method Summary
 void addRole(String role)
          Add a role to this user
 String[] getArrayRoles()
          Get the roles
 String getDescription()
          Get the description of this group
 String getName()
          Get the name of this user
 void removeRole(String role)
          Remove a role from this user
 void setDescription(String description)
          Set the description of this group
 

Method Detail

getName

String getName()
Get the name of this user

Returns:
the name of this user

setDescription

void setDescription(String description)
Set the description of this group

Parameters:
description - description of the group

getDescription

String getDescription()
Get the description of this group

Returns:
the description of this group

addRole

void addRole(String role)
Add a role to this user

Parameters:
role - the given role

removeRole

void removeRole(String role)
Remove a role from this user

Parameters:
role - the given role

getArrayRoles

String[] getArrayRoles()
Get the roles

Returns:
the array of the roles


Copyright © 2010 OW2 Consortium. All Rights Reserved.