org.openpermis.editor.policy.plugin
Class RoleAssignmentPlugin

java.lang.Object
  extended by org.openpermis.editor.policy.plugin.AbstractPlugin
      extended by org.openpermis.editor.policy.plugin.AbstractPolicyPlugin
          extended by org.openpermis.editor.policy.plugin.AbstractConfigurationPolicyPlugin
              extended by org.openpermis.editor.policy.plugin.RoleAssignmentPlugin
All Implemented Interfaces:
Plugin, PolicyPlugin

public class RoleAssignmentPlugin
extends AbstractConfigurationPolicyPlugin

Plugin to import actions from a WSDL file.

Since:
0.9.0

Constructor Summary
RoleAssignmentPlugin(ApplicationContext context, PolicyViewConfiguration configuration)
          Creates a new plugin.
 
Method Summary
 void customizeMenu(MenuBarFactory.Customizer customizer)
          Prompts the plugin to provide its menu customization.
 void customizeToolBar(ToolBarFactory.Customizer customizer)
          Prompts the plugin to provide its tool bar customization.
 void roleAssignmentWizard()
          Creates an attribute certificate assigning roles to a subject.
protected  void updateActions(boolean hasPresenter)
          Updates all actions of this plugin.
 
Methods inherited from class org.openpermis.editor.policy.plugin.AbstractConfigurationPolicyPlugin
getConfiguration
 
Methods inherited from class org.openpermis.editor.policy.plugin.AbstractPolicyPlugin
getPolicyPresenter, refresh
 
Methods inherited from class org.openpermis.editor.policy.plugin.AbstractPlugin
getAction, getActionMap, getApplicationContext, getMainContentPane, getMainFrame, getResourceMap, getTranslation, getTranslation, showError, showWarning
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RoleAssignmentPlugin

public RoleAssignmentPlugin(ApplicationContext context,
                            PolicyViewConfiguration configuration)
Creates a new plugin.

Parameters:
context - the application context of this plugin.
configuration - the configuration of this plugin.
Since:
0.9.0
Method Detail

roleAssignmentWizard

@Action
public void roleAssignmentWizard()
Creates an attribute certificate assigning roles to a subject.

Since:
0.3.0

updateActions

protected void updateActions(boolean hasPresenter)
Description copied from class: AbstractPolicyPlugin
Updates all actions of this plugin.

Overrides:
updateActions in class AbstractPolicyPlugin
Parameters:
hasPresenter - true if a presenter is set, false otherwise.
Since:
0.9.0

customizeMenu

public void customizeMenu(MenuBarFactory.Customizer customizer)
Description copied from interface: Plugin
Prompts the plugin to provide its menu customization.

Specified by:
customizeMenu in interface Plugin
Overrides:
customizeMenu in class AbstractPlugin
Parameters:
customizer - the customizer to use.
Since:
0.9.0

customizeToolBar

public void customizeToolBar(ToolBarFactory.Customizer customizer)
Description copied from interface: Plugin
Prompts the plugin to provide its tool bar customization.

Specified by:
customizeToolBar in interface Plugin
Overrides:
customizeToolBar in class AbstractPlugin
Parameters:
customizer - the customizer to use.
Since:
0.9.0


OpenPermis Role Based Access Control 0.9.0 (Build 16)
2009/08/13 07:17:21
Copyright (c) 2002-2007 Ergon Informatik AG