Class DdlLoginService
java.lang.Object
org.jdesktop.beans.AbstractBean
org.jdesktop.swingx.auth.LoginService
be.gaudry.swing.edu.authentication.DdlLoginService
public class DdlLoginService
extends org.jdesktop.swingx.auth.LoginService
Login mechanism for Data Definition Language operations on the persistent layer.
This is not a Single Sign On login because DDL operations have a huge impact on the application.
Thus, authentication is needed as confirmation on each operation.
\nAs this is more a confirmation than an authentication, username and password may be modified on
the be.gaudry.language.edu.admin.restricted.basicAuth property file.
- Since:
- 1.0 Feb 22, 2009, 1.0
- Version:
- %I%, %G%
- Author:
- Steph GAUDRY
- See Also:
LoginService
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
authenticate(String name, char[] password, String server)
Methods inherited from class org.jdesktop.swingx.auth.LoginService
addLoginListener, cancelAuthentication, getServer, getSynchronous, getUserRoles, removeLoginListener, setServer, setSynchronous, startAuthentication
Methods inherited from class org.jdesktop.beans.AbstractBean
addPropertyChangeListener, addPropertyChangeListener, addVetoableChangeListener, addVetoableChangeListener, clone, fireIndexedPropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, fireVetoableChange, getPropertyChangeListeners, getPropertyChangeListeners, getVetoableChangeListeners, getVetoableChangeListeners, hasPropertyChangeListeners, hasVetoableChangeListeners, removePropertyChangeListener, removePropertyChangeListener, removeVetoableChangeListener, removeVetoableChangeListener
-
Constructor Details
-
DdlLoginService
public DdlLoginService() -
DdlLoginService
- Parameters:
server
-
-
-
Method Details
-
authenticate
- Specified by:
authenticate
in classorg.jdesktop.swingx.auth.LoginService
- Throws:
Exception
-