|
![]() |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openpermis.editor.policy.view.WizardDialog
org.openpermis.editor.policy.view.SigningWizard
org.openpermis.editor.policy.view.RoleAssignmentWizard
public class RoleAssignmentWizard
Wizard to create an attribute certificates assigning roles to a subject.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.openpermis.editor.policy.view.WizardDialog |
---|
WizardDialog.ContentStyle |
Field Summary |
---|
Fields inherited from class org.openpermis.editor.policy.view.WizardDialog |
---|
CHOOSER_TEXT, NEXT_FOCUS, TEXT_AREA_ROWS, TEXT_FIELD_COLUMNS |
Constructor Summary | |
---|---|
RoleAssignmentWizard(ApplicationContext context,
org.openpermis.policy.bean.PolicyBean policy,
KeyStoreReader keyStoreReader)
Creates a wizard to create an attribute certificates assigning roles to a subject. |
Method Summary | |
---|---|
void |
browseFile()
Opens an ACE file to browse its content. |
void |
cancel()
Action to close the wizard without executing it. |
void |
chooseCertificate()
Prompts the user to choose a certificate. |
void |
chooseOutputFile()
Action to choose the output file. |
protected boolean |
createAttributeCertificate(X509Certificate x509Cert4Signing,
PrivateKey privateKey4Signing,
File output)
Creates a an attribute certificate with the specified input X509 certificate, private key and output file. |
protected JComponent |
createContentPane(ControlFactory factory)
Creates the content pane of this dialog. |
void |
execute()
Action to execute the signing process. |
protected boolean |
initialize(Component parent)
Initialize some wizard specific fields. |
protected void |
updateActions()
Updates the actions according to the values in the wizard fields. |
Methods inherited from class org.openpermis.editor.policy.view.SigningWizard |
---|
generateAttributeCertificate, writeAttributeCertificate |
Methods inherited from class org.openpermis.editor.policy.view.WizardDialog |
---|
chooseFile, close, configure, configureButton, createButtonPane, createChooser, createDialogContent, createDisplayTextField, createFormBuilder, createHeaderPane, createLabel, createPasswordField, focusNextComponent, getAction, getActionMap, getApplicationContext, getButtonActions, getCancelAction, getContentStyle, getDefaultButton, getDialog, getDialogTitle, getExecuteAction, getResourceMap, getTitleDescriptionKey, getTitleIconKey, getTitleTextKey, sameAction, setNextFocusComponent, show, showErrorDialog, showErrorDialog |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RoleAssignmentWizard(ApplicationContext context, org.openpermis.policy.bean.PolicyBean policy, KeyStoreReader keyStoreReader)
context
- the application context used to lookup the action and resource map.policy
- the policy to export to the ace file.Method Detail |
---|
protected boolean createAttributeCertificate(X509Certificate x509Cert4Signing, PrivateKey privateKey4Signing, File output)
x509Cert4Signing
- the X509 certificate used to sign the AC.privateKey4Signing
- the private key used to sign the AC.output
- the output file.
true
if the attribute certificate was created, false
otherwise.@Action public void browseFile()
@Action public void chooseCertificate()
@Action public void chooseOutputFile()
protected JComponent createContentPane(ControlFactory factory)
WizardDialog
createContentPane
in class WizardDialog
factory
- the control factory to use for creating controls.
protected void updateActions()
WizardDialog
updateActions
in class WizardDialog
protected boolean initialize(Component parent)
WizardDialog
initialize
in class WizardDialog
parent
- the parent component of the dialog.
@Action public void cancel()
@Action public void execute()
|
![]() |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
OpenPermis Role Based Access Control 0.9.0 (Build 16)
2009/08/13 07:17:21
Copyright (c) 2002-2007 Ergon Informatik AG