|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.springframework.richclient.security.SessionDetails
ApplicationSecurityManager
public class SessionDetails
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.
ClientSecurityEvent
,
LoginCommand
,
LogoutCommand
,
Serialized FormField 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 |
---|
public static final String PROPERTY_USERNAME
public static final String PROPERTY_PASSWORD
Constructor Detail |
---|
public SessionDetails()
Method Detail |
---|
protected void initRules()
public PropertyConstraint getPropertyConstraint(String propertyName)
PropertyConstraintProvider
getPropertyConstraint
in interface PropertyConstraintProvider
public String getUsername()
public void setUsername(String username)
public String getPassword()
public void setPassword(String password)
public void setAuthenticationManager(org.acegisecurity.AuthenticationManager manager)
public void login() throws org.acegisecurity.AcegiSecurityException
org.acegisecurity.AcegiSecurityException
public static org.acegisecurity.Authentication logout()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |