Klasse PlainJSONSecureAnnotatedScreen
java.lang.Object
org.apache.turbine.modules.screens.RawScreen
org.apache.turbine.modules.screens.PlainJSONScreen
org.apache.turbine.modules.screens.PlainJSONSecureAnnotatedScreen
-
Feldübersicht
Von Klasse geerbte Felder org.apache.turbine.modules.screens.PlainJSONScreen
BUFFER_SIZE, JSON_TYPEVon Schnittstelle geerbte Felder org.apache.turbine.modules.Screen
CACHE_SIZE_DEFAULT, CACHE_SIZE_KEY, NAME, PREFIX -
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoiddoOutput(PipelineData pipelineData) This method overrides the method in JSONScreen to perform a security check prior to producing the output.protected booleanisAuthorized(PipelineData pipelineData) Use this method to perform the necessary security check with Turbine annotationsTurbineRequiredRolein a newly overriddendoOutput(PipelineData)method.Von Klasse geerbte Methoden org.apache.turbine.modules.screens.PlainJSONScreen
getContentType
-
Konstruktordetails
-
PlainJSONSecureAnnotatedScreen
public PlainJSONSecureAnnotatedScreen()
-
-
Methodendetails
-
doOutput
This method overrides the method in JSONScreen to perform a security check prior to producing the output.- Setzt außer Kraft:
doOutputin KlassePlainJSONScreen- Parameter:
pipelineData- Turbine information.- Löst aus:
Exception- a generic exception.
-
isAuthorized
Use this method to perform the necessary security check with Turbine annotationsTurbineRequiredRolein a newly overriddendoOutput(PipelineData)method.- Parameter:
pipelineData- Turbine information.- Gibt zurück:
trueif the user is authorized to access the screen, by default it is required ACL is populated. IfTurbineRequiredRoleis not set, it is allowed by default- Löst aus:
Exception- A generic exception.
-