|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.moximedia.aims.AimsRegistration
Handles script level registration.
| Field Summary | |
static int |
STORAGE_METHOD_SESSION
|
| Constructor Summary | |
AimsRegistration()
Creates a new instance of AimsRegistration |
|
| Method Summary | |
java.lang.String |
getActionScript()
Gets the name of the script that will be executed when the protected script is run. |
java.lang.String |
getInputParams()
Gets the parameters to the original script when redirected to the login page as a bunch of input statements. |
java.lang.String |
getLoginScript()
Gets the name of the login script for the protected script. |
java.util.HashMap |
getParams()
Gets the parameters to the original script when redirected to the login page. |
java.lang.String |
getProtectedScript()
Gets the name of the protected script. |
java.lang.String |
getStorageId()
Gets the name of the cookie or session variable containing the user's credentials. |
int |
getStorageMethod()
Gets the method type used for storing user credentials. |
void |
setActionScript(java.lang.String script)
Sets the name of the script that will be executed when the protected script is run. |
void |
setLoginScript(java.lang.String script)
Sets the name of the login script for the protected script. |
void |
setParams(javax.servlet.http.HttpServletRequest request)
Saves the parameters to the original script when redirected to the login page. |
void |
setProtectedScript(java.lang.String script)
Sets the name of the protected script. |
void |
setStorageId(java.lang.String storageId)
Gets the name of the cookie or session variable containing the user's credentials. |
void |
setStorageMethod(int method)
Sets the method type used for storing user credentials. |
void |
setStorageMethod(java.lang.String method)
Sets the method type used for storing user credentials. |
void |
setXmlAttribute(java.lang.String tag,
java.lang.String name,
java.lang.String value)
Sets one of the attributes of this object using a string value. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final int STORAGE_METHOD_SESSION
| Constructor Detail |
public AimsRegistration()
| Method Detail |
public java.lang.String getActionScript()
public void setActionScript(java.lang.String script)
script - The name of the script, or null if there isn't one.public java.lang.String getLoginScript()
public void setLoginScript(java.lang.String script)
public java.lang.String getProtectedScript()
public void setProtectedScript(java.lang.String script)
script - The name of the protected script within the IMF directory.public int getStorageMethod()
public void setStorageMethod(int method)
method - The method type enumerator.public void setStorageMethod(java.lang.String method)
method - The method type string, Only "session" is supported at this time.public java.lang.String getStorageId()
public void setStorageId(java.lang.String storageId)
storageId - The name of the cookie or bean.public java.util.HashMap getParams()
public java.lang.String getInputParams()
public void setParams(javax.servlet.http.HttpServletRequest request)
request - The original request.
public void setXmlAttribute(java.lang.String tag,
java.lang.String name,
java.lang.String value)
tag - The XML element tag containing this attribute.name - The XML attribute name.value - The XML attribute value.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||