Class AccessPwdAuthenticator


  • public class AccessPwdAuthenticator
    extends Object
    Author:
    XIMA MEDIA GmbH
    • 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.