Package de.xima.fc.web.common.accesspwd
Class AccessPwdAuthenticator
java.lang.Object
de.xima.fc.web.common.accesspwd.AccessPwdAuthenticator
- Author:
- XIMA MEDIA GmbH
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
authenticate
(Projekt p, javax.servlet.http.HttpServletRequest request) Performs the authentication for the form access password of the given form.
-
Method Details
-
authenticate
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.
-