org.springframework.richclient.security
Class SessionDetails

java.lang.Object
  extended by org.springframework.richclient.security.SessionDetails
All Implemented Interfaces:
Serializable, PropertyConstraintProvider

Deprecated. by the creation of new ApplicationSecurityManager

public class SessionDetails
extends Object
implements Serializable, PropertyConstraintProvider

This class provides a bean suitable for use in a login form, providing properties for storing the user name and password. It also provides event firing for application security lifecycle. LoginCommand uses this object as its form object to collect the user name and password to use in an authentication request.

The actual authentication request is handled here, in the login() method.

Temporarily stores the username and password provided by the user.

Author:
Ben Alex
See Also:
ClientSecurityEvent, LoginCommand, LogoutCommand, Serialized Form

Field Summary
static String PROPERTY_PASSWORD
          Deprecated.  
static String PROPERTY_USERNAME
          Deprecated.  
 
Constructor Summary
SessionDetails()
          Deprecated.  
 
Method Summary
 String getPassword()
          Deprecated.  
 PropertyConstraint getPropertyConstraint(String propertyName)
          Deprecated. Returns the constraint on the given property.
 String getUsername()
          Deprecated.  
protected  void initRules()
          Deprecated.  
 void login()
          Deprecated.  
static org.acegisecurity.Authentication logout()
          Deprecated.  
 void setAuthenticationManager(org.acegisecurity.AuthenticationManager manager)
          Deprecated.  
 void setPassword(String password)
          Deprecated.  
 void setUsername(String username)
          Deprecated.  
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PROPERTY_USERNAME

public static final String PROPERTY_USERNAME
Deprecated. 
See Also:
Constant Field Values

PROPERTY_PASSWORD

public static final String PROPERTY_PASSWORD
Deprecated. 
See Also:
Constant Field Values
Constructor Detail

SessionDetails

public SessionDetails()
Deprecated. 
Method Detail

initRules

protected void initRules()
Deprecated. 

getPropertyConstraint

public PropertyConstraint getPropertyConstraint(String propertyName)
Deprecated. 
Description copied from interface: PropertyConstraintProvider
Returns the constraint on the given property.

Specified by:
getPropertyConstraint in interface PropertyConstraintProvider

getUsername

public String getUsername()
Deprecated. 

setUsername

public void setUsername(String username)
Deprecated. 

getPassword

public String getPassword()
Deprecated. 

setPassword

public void setPassword(String password)
Deprecated. 

setAuthenticationManager

public void setAuthenticationManager(org.acegisecurity.AuthenticationManager manager)
Deprecated. 

login

public void login()
           throws org.acegisecurity.AcegiSecurityException
Deprecated. 
Throws:
org.acegisecurity.AcegiSecurityException

logout

public static org.acegisecurity.Authentication logout()
Deprecated. 


Copyright © 2004-2008 The Spring Framework. All Rights Reserved.