Package de.xima.fc.web.common.accesspwd
Class AccessPwdAuthenticator
- java.lang.Object
-
- de.xima.fc.web.common.accesspwd.AccessPwdAuthenticator
-
public class AccessPwdAuthenticator extends Object
- Author:
- XIMA MEDIA GmbH
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
authenticate(Projekt p, javax.servlet.http.HttpServletRequest request)
Performs the authentication for the form access password of the given form.
-
-
-
Method Detail
-
authenticate
public static boolean authenticate(Projekt p, javax.servlet.http.HttpServletRequest request)
Performs the authentication for the form access password of the given form. First it checks whether the user is already authenticated for the given project. Otherwise, it reads the entered access password from the request, and checks if it matches the access password set for the form.- Parameters:
p
- Current project .request
- Current request.- Returns:
- True if the user is now authenticated, false otherwise.
-
-