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

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

public class RequestAuthenticationCommand
extends Command


Field Summary
private  boolean isFailed
           
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
RequestAuthenticationCommand(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 setFailed(boolean myStatus)
          setFailed is set by the Controller when a log in attemt fails, and is used in exec() to indicate a failed authentication request.
 
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

isFailed

private boolean isFailed

TEMPLATE_NAME

public static final java.lang.String TEMPLATE_NAME
Constructor Detail

RequestAuthenticationCommand

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

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

setFailed

public void setFailed(boolean myStatus)
setFailed is set by the Controller when a log in attemt fails, and is used in exec() to indicate a failed authentication request.


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