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_TYPE
Von Schnittstelle geerbte Felder org.apache.turbine.modules.Screen
CACHE_SIZE_DEFAULT, CACHE_SIZE_KEY, NAME, PREFIX
-
Konstruktorübersicht
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoid
doOutput
(PipelineData pipelineData) This method overrides the method in JSONScreen to perform a security check prior to producing the output.protected boolean
isAuthorized
(PipelineData pipelineData) Use this method to perform the necessary security check with Turbine annotationsTurbineRequiredRole
in 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:
doOutput
in KlassePlainJSONScreen
- Parameter:
pipelineData
- Turbine information.- Löst aus:
Exception
- a generic exception.
-
isAuthorized
Use this method to perform the necessary security check with Turbine annotationsTurbineRequiredRole
in a newly overriddendoOutput(PipelineData)
method.- Parameter:
pipelineData
- Turbine information.- Gibt zurück:
true
if the user is authorized to access the screen, by default it is required ACL is populated. IfTurbineRequiredRole
is not set, it is allowed by default- Löst aus:
Exception
- A generic exception.
-