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

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

public class LogoutCommand
extends Command


Field Summary
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
LogoutCommand(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp)
           
 
Method Summary
 java.lang.String exec(org.apache.velocity.context.Context ctx)
          invalidate session and return to login screen!
 
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
Constructor Detail

LogoutCommand

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

exec

public java.lang.String exec(org.apache.velocity.context.Context ctx)
invalidate session and return to login screen!
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.