org.openpermis.editor.policy.view.component
Class ConfiguredIdentityFinderComponent

java.lang.Object
  extended by org.openpermis.editor.policy.view.component.ConfiguredIdentityFinderComponent
All Implemented Interfaces:
Chooser, IdentityFinderComponent

public class ConfiguredIdentityFinderComponent
extends Object
implements IdentityFinderComponent

Pre-configured ldap implementation of IdentityFinderComponent.

Since:
0.9.0

Constructor Summary
ConfiguredIdentityFinderComponent(PolicyViewConfiguration configuration)
          Creates an ConfiguredIdentityFinderComponent.
 
Method Summary
 org.openpermis.identity.IdentityFinder getIdentityFinder()
          Returns an IdentityFinder.
 String getInfo()
          Returns human readable information about the state of this component that can be displayed in a text field.
 boolean isChoosable()
          Returns false if nothing can be chosen.
 boolean isPrepared()
          Returns if this component is prepared.
 void show(Component parent)
          Starts the chooser.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConfiguredIdentityFinderComponent

public ConfiguredIdentityFinderComponent(PolicyViewConfiguration configuration)
Creates an ConfiguredIdentityFinderComponent.

Since:
0.9.0
Method Detail

getIdentityFinder

public org.openpermis.identity.IdentityFinder getIdentityFinder()
Description copied from interface: IdentityFinderComponent
Returns an IdentityFinder.

Specified by:
getIdentityFinder in interface IdentityFinderComponent
Returns:
an IdentityFinder.
Since:
0.9.0

isPrepared

public boolean isPrepared()
Description copied from interface: Chooser
Returns if this component is prepared. A component is prepared if it has all necessary information to create a mutable subject finder.

Specified by:
isPrepared in interface Chooser
Returns:
true if this component is prepared.
Since:
0.9.0

getInfo

public String getInfo()
Description copied from interface: Chooser
Returns human readable information about the state of this component that can be displayed in a text field.

Specified by:
getInfo in interface Chooser
Since:
0.9.0

isChoosable

public boolean isChoosable()
Description copied from interface: Chooser
Returns false if nothing can be chosen. E.g. all informations are retrieved from a configuration and no graphical should be drawn.

Specified by:
isChoosable in interface Chooser
Since:
0.9.0

show

public void show(Component parent)
Description copied from interface: Chooser
Starts the chooser.

Specified by:
show in interface Chooser
Parameters:
parent - the parent component of the dialog.
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