Class SecurityActions


  • public class SecurityActions
    extends java.lang.Object
    Author:
    Daniel Meyer
    • Constructor Detail

      • SecurityActions

        public SecurityActions()
    • Method Detail

      • runWithAuthentications

        public static <T> T runWithAuthentications​(SecurityActions.SecurityAction<T> action,
                                                   Authentications authentications)
                                            throws java.io.IOException,
                                                   javax.servlet.ServletException
        Throws:
        java.io.IOException
        javax.servlet.ServletException
      • runWithoutAuthentication

        public static <T> T runWithoutAuthentication​(SecurityActions.SecurityAction<T> action,
                                                     ProcessEngine processEngine)
                                              throws java.io.IOException,
                                                     javax.servlet.ServletException
        Throws:
        java.io.IOException
        javax.servlet.ServletException