1 package org.apache.turbine.modules.actions; 2 3 56 57 import org.apache.turbine.RunData; 58 59 75 public abstract class TemplateSecureAction 76 extends TemplateAction 77 { 78 85 protected void perform( RunData data ) 86 throws Exception  87 { 88 if ( isAuthorized( data ) ) 89 { 90 super.perform(data); 91 } 92 } 93 94 104 protected abstract boolean isAuthorized( RunData data ) 105 throws Exception ; 106 } 107 | Popular Tags |