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

    Constructors
    Constructor
    Description
     
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    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

    Methods inherited from class java.lang.Object

    equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • DdlLoginService

      public DdlLoginService()
    • DdlLoginService

      public DdlLoginService(String server)
      Parameters:
      server -
  • Method Details

    • authenticate

      public boolean authenticate(String name, char[] password, String server) throws Exception
      Specified by:
      authenticate in class org.jdesktop.swingx.auth.LoginService
      Throws:
      Exception