org.nst.pasientlink.authenticator.admin.command
Class AuthenticateSessionCommand

java.lang.Object
  |
  +--org.nst.pasientlink.authenticator.admin.command.Command
        |
        +--org.nst.pasientlink.authenticator.admin.command.AuthenticateSessionCommand

public class AuthenticateSessionCommand
extends Command


Field Summary
private  int authenticationReturnValue
           
static java.lang.String TEMPLATE_NAME
           
 
Fields inherited from class org.nst.pasientlink.authenticator.admin.command.Command
COMMAND, COMMAND_PARAMETER, DATE_FORMATTER, mySession, request, response, RETURN_VALUE
 
Constructor Summary
AuthenticateSessionCommand(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp)
           
 
Method Summary
 java.lang.String exec(org.apache.velocity.context.Context ctx)
          Implemented by classes that extends this class
 void setAuthenticationReturnValue(int myRetVal)
          setAuthenticationReturnValue sets the return value from the actual authenticateSession call, performed by the Controller before generating this command object.
 
Methods inherited from class org.nst.pasientlink.authenticator.admin.command.Command
getAuthenticatorStorage, getUtility, setCommonResponseHeaders
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

TEMPLATE_NAME

public static final java.lang.String TEMPLATE_NAME

authenticationReturnValue

private int authenticationReturnValue
Constructor Detail

AuthenticateSessionCommand

public AuthenticateSessionCommand(javax.servlet.http.HttpServletRequest req,
                                  javax.servlet.http.HttpServletResponse resp)
Method Detail

setAuthenticationReturnValue

public void setAuthenticationReturnValue(int myRetVal)
setAuthenticationReturnValue sets the return value from the actual authenticateSession call, performed by the Controller before generating this command object. This value is used to determine what error messages, if any, to show when displaying the page

exec

public java.lang.String exec(org.apache.velocity.context.Context ctx)
Description copied from class: Command
Implemented by classes that extends this class
Overrides:
exec in class Command
Following copied from class: org.nst.pasientlink.authenticator.admin.command.Command
Parameters:
the - context
Returns:
the name of the template to execute


Copyright © 2002 Norwegian Centre for Telemedicine. All Rights Reserved.