Class EduAdminLoginService
java.lang.Object
org.jdesktop.beans.AbstractBean
org.jdesktop.swingx.auth.LoginService
be.gaudry.swing.authentication.SSOLoginService
be.gaudry.swing.edu.authentication.EduAdminLoginService
EduAdminLoginService allows to load a login name and password from the persistent layer
to try to authenticate, as single sign one, for the administrative tasks of EducaBrol.
- Since:
- 1.0 Feb 22, 2009, 1.0
- Version:
- %I%, %G%
- Author:
- Steph GAUDRY
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanauthenticateOnce(String name, char[] password, String server)This method is intended to be implemented by clients wishing to authenticate a user with a given password.Methods inherited from class be.gaudry.swing.authentication.SSOLoginService
authenticate, isAuthenticated, logOffMethods inherited from class org.jdesktop.swingx.auth.LoginService
addLoginListener, cancelAuthentication, getServer, getSynchronous, getUserRoles, removeLoginListener, setServer, setSynchronous, startAuthenticationMethods 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
-
EduAdminLoginService
public EduAdminLoginService() -
EduAdminLoginService
- Parameters:
server-
-
-
Method Details
-
authenticateOnce
Description copied from class:SSOLoginServiceThis method is intended to be implemented by clients wishing to authenticate a user with a given password. \nThis mechanism is called only on the "unauthenticated" state. To return to the initial "unauthenticated" state, you may call theSSOLoginService.logOff()method.- Specified by:
authenticateOncein classSSOLoginService- Parameters:
name- user namepassword- user passwordserver- server (optional)- Returns:
trueon authentication success- Throws:
Exception- See Also:
SSOLoginService.logOff(),SSOLoginService.isAuthenticated()
-