LoginScreenButtons is called from the generation of the login screen to insert buttons into the login display screen beneath the user name and password input fields.
User Authentication Methods
public String ucLoginScreenButtons(
SesameSession session)
Generally, the buttons should direct the service to the unsecuredServiceEntry method so that the button handling can be done in User Custom code. The return string is inserted into the HTML generated on the login screen.
public String ucLoginScreenButtons(SesameSession session) {
// move this logic to user custom code for Vodafone
String mAppHome = Z.appDefaults.getAttribute("APP_HOME");
if (Z.config.getConfigValue("Random_Password_Pass".toUpperCase()) != null) {
String requestPassword = "<span class=\"text\"><a class=\"text\" href=\""
+ session.rewriteURL(mAppHome
+ "ExtraView?p_option=security.LoginDisplay&p_action=
unsecuredServiceEntry&stateVar=doDisplay")
+ "\" target=_sel>"
+ Z.m.msg(session, "Request Password")
+ "</a>\n";
return requestPassword + "<br>\n";
}
return "";
}