Class AuthHelper


  • public class AuthHelper
    extends Object
    Helper class for dealing with authentication
    Since:
    7.0.4
    Author:
    XIMA Media GmbH
    • Method Detail

      • isAnonymousAuthenticationAllowed

        public static boolean isAnonymousAuthenticationAllowed​(IFormAuthContext authCtx)
        Parameters:
        authCtx - IFormAuthContext to check the access restriction for
        Returns:
        whether or not anonymous access is allowed for the given authentication context
      • isAnonymousAuthenticationAllowed

        public static boolean isAnonymousAuthenticationAllowed​(Projekt project)
        Parameters:
        project - Projekt to check the access restriction for
        Returns:
        whether or not the access to new instance of the form given by the project is restricted
      • isAnonymousAuthenticationAllowed

        public static boolean isAnonymousAuthenticationAllowed​(WorkflowState state)
        Parameters:
        state - WorkflowState to check the access restriction for
        Returns:
        whether or not the access to form records in this state is restricted