![Table of Contents](../../../../../../images/up.gif)
EOLoginPanel
Inherits from: NSObject
Package: com.apple.yellow.eoaccess
Class Description
EOLoginPanel is an abstract class that defines how users of an Enterprise Objects Framework application provide database login information. Concrete subclasses of EOLoginPanel override its one method to run a modal login panel. Unless you are writing a concrete adaptor subclass, you shouldn't need to interact with this class. Generally, the Framework automatically creates and runs an instance of a concrete login panel object when your application needs connection information for the user. If you want to control when or how the login panel is run, use the EOAdaptor methods runLoginPanelAndValidateConnectionDictionary and runLoginPanel. When invoked, these methods create a concrete EOLoginPanel and interact with it for you.
If you are writing a concrete adaptor, you must provide a concrete subclass of EOLoginPanel and a graphical user interface (usually a .nib file). Enterprise Objects Framework expects these resources to be provided in a bundle named "LoginPanel" in the adaptor's framework. See the class specification for EOAdaptor for more information.
Instance Methods
administrativeConnectionDictionaryForAdaptor
public NSDictionary administrativeConnectionDictionaryForAdaptor(EOAdaptor adaptor)
runPanelForAdaptor
public NSDictionary runPanelForAdaptor(
EOAdaptor adaptor,
boolean flag,
boolean allowsCreation)
If flag is false, login information entered in the panel isn't validated and is returned without affecting the adaptor's connection dictionary.
A subclass must override this method without invoking EOAdaptor's implementation.
See Also: setConnectionDictionary (EOAdaptor), assertConnectionDictionaryIsValid (EOAdaptor), runLoginPanelAndValidateConnectionDictionary (EOAdaptor), runLoginPanel (EOAdaptor)
![Table of Contents](../../../../../../images/up.gif)