org.kuali.student.common.ui.client.security
Class SpringSecurityLoginDialogHandler

java.lang.Object
  extended by org.kuali.student.common.ui.client.security.SpringSecurityLoginDialogHandler
All Implemented Interfaces:
SessionTimeoutHandler

public class SpringSecurityLoginDialogHandler
extends Object
implements SessionTimeoutHandler

This implements the SessionTimeoutHandler. The timeout is handled by displaying a spring security login panel.

Author:
Kuali Student Team

Field Summary
protected  com.google.gwt.user.client.ui.Label errorLabel
           
protected  KSLightBox lightbox
           
protected  com.google.gwt.user.client.ui.PasswordTextBox password
           
 String TIMEOUT_MSG
           
protected  com.google.gwt.user.client.ui.TextBox username
           
 
Constructor Summary
SpringSecurityLoginDialogHandler()
           
 
Method Summary
 void handleSessionTimeout()
          Performs operations needed to handle a session timeout.
 boolean isSessionTimeout(Throwable error)
          Detects if session has timed out
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TIMEOUT_MSG

public final String TIMEOUT_MSG
See Also:
Constant Field Values

lightbox

protected KSLightBox lightbox

username

protected com.google.gwt.user.client.ui.TextBox username

password

protected com.google.gwt.user.client.ui.PasswordTextBox password

errorLabel

protected com.google.gwt.user.client.ui.Label errorLabel
Constructor Detail

SpringSecurityLoginDialogHandler

public SpringSecurityLoginDialogHandler()
Method Detail

isSessionTimeout

public boolean isSessionTimeout(Throwable error)
Description copied from interface: SessionTimeoutHandler
Detects if session has timed out

Specified by:
isSessionTimeout in interface SessionTimeoutHandler

handleSessionTimeout

public void handleSessionTimeout()
Description copied from interface: SessionTimeoutHandler
Performs operations needed to handle a session timeout.

Specified by:
handleSessionTimeout in interface SessionTimeoutHandler


Copyright © 2004-2013 The Kuali Foundation. All Rights Reserved.