Klasse LegacyVelocitySecureScreen

Alle implementierten Schnittstellen:
Assembler, Screen

Veraltet.
Use VelocitySecureScreen directly
Support Turbine 2 screens
Autor:
Thomas Vandahl
  • Konstruktordetails

  • Methodendetails

    • doBuildTemplate

      protected abstract void doBuildTemplate(RunData data, org.apache.velocity.context.Context context) throws Exception
      Veraltet.
      Implement this to add information to the context.
      Setzt außer Kraft:
      doBuildTemplate in Klasse LegacyVelocityScreen
      Parameter:
      data - Turbine information.
      context - Context for web pages.
      Löst aus:
      Exception - a generic exception.
    • doBuildTemplate

      protected void doBuildTemplate(PipelineData pipelineData) throws Exception
      Veraltet.
      This method overrides the method in VelocityScreen to perform a security check first.
      Setzt außer Kraft:
      doBuildTemplate in Klasse VelocityScreen
      Parameter:
      pipelineData - Turbine information.
      Löst aus:
      Exception - a generic exception.
    • isAuthorized

      protected abstract boolean isAuthorized(RunData data) throws Exception
      Veraltet.
      Implement this method to perform the security check needed. You should set the template in this method that you want the user to be sent to if they're unauthorized. See the VelocitySecurityCheck utility.
      Parameter:
      data - Turbine information.
      Gibt zurück:
      True if the user is authorized to access the screen.
      Löst aus:
      Exception - a generic exception.