| com.ivata.mask.web.struts.MaskAuthenticator
All known Subclasses: com.ivata.mask.web.struts.DefaultMaskAuthenticator,
MaskAuthenticator | public interface MaskAuthenticator (Code) | |
Mask authenticator allows you to query the state of the current web session
and return control to an alternate forward, if the current user is
unauthorized.
since: ivata masks 0.3 (2004-11-12) author: Colin MacLeod author: colin.macleod@ivata.com version: $Revision: 1.5 $ |
Method Summary | |
String | authenticate(HttpSession sessionParam, HttpServletRequest requestParam, ServletContext servletContextParam, boolean login)
This is the 'do it' method of this interface :-) .
Identify whether or not special steps should be taken for this user, and
return the Struts action forward if they should.
Parameters: sessionParam - The current HTTP session we are processing. Parameters: requestParam - The current HTTP request we are processing. Parameters: servletContextParam - ServletContext for the current JSP or Servletwe are processing Parameters: login - true if the user is performing a login action,otherwise false . |
authenticate | String authenticate(HttpSession sessionParam, HttpServletRequest requestParam, ServletContext servletContextParam, boolean login) throws SystemException(Code) | |
This is the 'do it' method of this interface :-) .
Identify whether or not special steps should be taken for this user, and
return the Struts action forward if they should.
Parameters: sessionParam - The current HTTP session we are processing. Parameters: requestParam - The current HTTP request we are processing. Parameters: servletContextParam - ServletContext for the current JSP or Servletwe are processing Parameters: login - true if the user is performing a login action,otherwise false . name of a Struts action forward to pass controlto, or null if the current user is valid and should beallowed to continue. throws: SystemException - If the current user cannot be validated for anyreason. |
|
|