JBoss.orgCommunity Documentation
The JMX name template of RoleRulesPlugin MBeans: exo:portal="portal",service=forum,view=plugins,name="add.role.rules.plugin".
Attribute | Description |
---|---|
AllRules
| The list of all rules of RoleRulesPlugin. For example, the rule defining 'root' user as an administrator follows the form of ADMIN=root. |
Description
| The brief description of RoleRulesPlugin functions. |
Name
| The name of RoleRulesPlugin. |
RuleNames
| The list of possible rule names; for example, the rule defining administrators is named ADMIN. |
Operation | Description |
---|---|
addRule
| Add a rule. For example, to add the ADMIN rule for the 'demo' user, you need to input two parameters: ADMIN in the p1 and demo in the p2. |
getRules
| Return the list of rules defining the user with the role inputed in p1. |
getName
| Return the name of the plugin. |
getRuleNames
| Return the list of possible rule names. For example, if 'demo' and 'mary' are defined as ADMIN (ADMIN=demo, mary), the list of returned rule names will be ADMIN. |
getDescription
| Return the brief description of the plugin. |
getAllRules
| Return all rules added to the plugin. |