|
| Components |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||
com.sas.servlet.tbeans.login.BaseLogin
public abstract class BaseLogin
The BaseLogin is an abstract TransformationBean for creating a set of components that allow the user to specify credentials for logging in to a system.
Note that subclasses of this bean actually provide the markup rendering used in/with Servlet and JavaServer Pages technologies. If you need to add support for a markup language that is not explicitly provided with AppDev Studio, then you must extend this class.
For More Information:
Note: A snapshot of the AppDev Studio Developers Site is installed on your local Web server when you install AppDev Studio. To access the site from webAF, select Help -> Developer Site .
| Field Summary | |
|---|---|
protected java.lang.String |
failureURL
|
protected com.sas.util.login.LoginBean |
loginBean
|
protected java.lang.String |
submitURL
|
protected java.lang.String |
successURL
|
| Constructor Summary | |
|---|---|
BaseLogin()
Default constructor. |
|
| Method Summary | |
|---|---|
java.lang.String |
getFailureURL()
Returns the URL used after failure to validate the specified credentials. |
com.sas.util.login.LoginBean |
getModel()
Gets the model that has been set for this transformation bean. |
java.lang.String |
getSubmitURL()
Returns the URL that is used when the user presses the Submit button. |
java.lang.String |
getSuccessURL()
Returns the URL used after success validation of the login credentials. |
void |
setFailureURL(java.lang.String URL)
Sets the URL to be used after failure to validate the specified credentials. |
void |
setModel(com.sas.util.login.LoginBean bean)
Sets the model for this transformation bean. |
void |
setSubmitURL(java.lang.String URL)
Sets the URL to be used when the user presses the Submit button. |
void |
setSuccessURL(java.lang.String URL)
Sets the URL to be used after successful validation of the credentials has been achieved. |
| Field Detail |
|---|
protected com.sas.util.login.LoginBean loginBean
protected java.lang.String submitURL
protected java.lang.String successURL
protected java.lang.String failureURL
| Constructor Detail |
|---|
public BaseLogin()
| Method Detail |
|---|
public void setModel(com.sas.util.login.LoginBean bean)
bean - The model to set.getModel()public com.sas.util.login.LoginBean getModel()
setModel(LoginBean)public void setSubmitURL(java.lang.String URL)
URL - The URL for the Submit button.getSubmitURL()public java.lang.String getSubmitURL()
setSubmitURL(String)public void setSuccessURL(java.lang.String URL)
URL - The URL to be accessed upon login success.getSuccessURL()public java.lang.String getSuccessURL()
setSuccessURL(String)public void setFailureURL(java.lang.String URL)
URL - The URL to be accessed upon login failure.getFailureURL()public java.lang.String getFailureURL()
setFailureURL(String)
|
| Components |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||