com.livinglogic.struts.workflow
Interface Authentication
- public interface Authentication
Interface that must be implemented by classes which provide authentication checks,
that are used in the action mapping's property "authClass".
Please note that only a single instance of each authentication class is instanciated.
Therefore, you have to be very careful when using data members. Normally only the
single method check
is provided, which does not work on any object's
variables.
- Since:
- $Name: HEAD $
- Version:
- $Revision: 1.2 $, $Date: 2004/04/07 23:47:12 $
- Author:
- M. Bauer, $Author: jason_pratt $
Method Summary |
boolean |
check(javax.servlet.http.HttpServletRequest request)
Check whether the user is authenticated to access the action that is protected
with instances of the implementing class. |
check
public boolean check(javax.servlet.http.HttpServletRequest request)
- Check whether the user is authenticated to access the action that is protected
with instances of the implementing class.
- Parameters:
request
- the request object
- Returns:
- true, if the user passed this check, false otherwise
Copyright © 2004 Struts Workflow Extension Team. All Rights Reserved.