public class PlainJSONSecureAnnotatedScreen extends PlainJSONScreen
BUFFER_SIZE, JSON_TYPECACHE_SIZE_DEFAULT, CACHE_SIZE_KEY, NAME, PREFIX| Constructor and Description |
|---|
PlainJSONSecureAnnotatedScreen() |
| Modifier and Type | Method and Description |
|---|---|
void |
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 annotations
TurbineRequiredRole in
a newly overridden doOutput(PipelineData) method. |
getContentTypepublic void doOutput(PipelineData pipelineData) throws Exception
doOutput in class PlainJSONScreenpipelineData - Turbine information.Exception - a generic exception.protected boolean isAuthorized(PipelineData pipelineData) throws Exception
TurbineRequiredRole in
a newly overridden doOutput(PipelineData) method.pipelineData - Turbine information.true if the user is authorized to access the screen, by default it is required ACL is populated.
If TurbineRequiredRole is not set, it is allowed by defaultException - A generic exception.Copyright © 2000–2019 The Apache Software Foundation. All rights reserved.