public class LoginAssistantComponent
extends java.lang.Object
In a nutshell this is how it works:
public class MuppetsExtension extends SFSExtension { private LoginAssistantComponent lac; public void init() { lac = new LoginAssistantComponent(this); // Configure the component lac.getConfig().loginTable = "muppets"; lac.getConfig().userNameField = "name"; lac.getConfig().passwordField = "pword"; } public void destroy() { lac.destroy(); } }NOTE: Always make sure to call the component's destroy() method inside your Extension's destroy() in order to release the component's resources.
LoginConfiguration
Constructor and Description |
---|
LoginAssistantComponent(ISFSExtension ext) |
Modifier and Type | Method and Description |
---|---|
void |
destroy()
Releases the Component's resources.
|
LoginConfiguration |
getConfig()
Obtain the configuration object that allows to setup all the parameters of
the Login process.
|
public LoginAssistantComponent(ISFSExtension ext)
public void destroy()
NOTE: Always make sure to call the component's destroy() method inside your Extension's destroy() in order to release the component's resources.
public LoginConfiguration getConfig()