com.raritantechnologies.quickstart.userInterface
Class LoginAction

java.lang.Object
  extended bycom.raritantechnologies.quickstart.userInterface.LoginAction

public class LoginAction
extends java.lang.Object

Implements a Login service. Handles access checking if a SecurityManager is passed in as a parameter.



Developed by Raritan Technologies Inc..

Author:
Kepler Gelotte

Constructor Summary
LoginAction()
           
 
Method Summary
static boolean doLogin(HttpServletRequest pReq, HttpServletResponse pRes)
          This method allows a struts Action to perform a login using request parameters.
static boolean doLogin(HttpServletRequest pReq, java.lang.String userName, java.lang.String password, java.lang.String useSecMan, boolean checkAccess, java.lang.String href)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LoginAction

public LoginAction()
Method Detail

doLogin

public static boolean doLogin(HttpServletRequest pReq,
                              HttpServletResponse pRes)
This method allows a struts Action to perform a login using request parameters. Standard parameters for input are: userName password securityManager loginHandler href (for secure linking) errorPage (optional) checkAccess (optional - true or false) noAccessPage ( optional ) accessName (optional) successAttr


doLogin

public static boolean doLogin(HttpServletRequest pReq,
                              java.lang.String userName,
                              java.lang.String password,
                              java.lang.String useSecMan,
                              boolean checkAccess,
                              java.lang.String href)