Groovy Documentation

org.linkedin.glu.orchestration.engine.plugins.builtin
[Groovy] Class StreamFileContentPlugin

java.lang.Object
  org.linkedin.glu.orchestration.engine.plugins.builtin.StreamFileContentPlugin

class StreamFileContentPlugin

The role of this plugin is to enforce some policies when streaming file content (ex: checking that the user is authorized to do so or masking passwords, etc...)

Authors:
yan@pongasoft.com


Field Summary
static java.lang.String MODULE

static Logger log

 
Property Summary
java.lang.Object AgentsService_post_streamFileContent

Called with the result of stream file content which can be an input stream in which case it gets decorated with a DataMaskingInputStream to hide the passwords and keys

java.lang.Object AgentsService_pre_streamFileContent

Called prior to stream the file content.

java.lang.Object PluginService_initialize

Called on initialization

AuthorizationService authorizationService

boolean maskFileContent

java.lang.String unrestrictedLocation

java.lang.String unrestrictedRole

 
Method Summary
 
Methods inherited from class java.lang.Object
java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll()
 

Field Detail

MODULE

public static final java.lang.String MODULE


log

public static final Logger log


 
Property Detail

AgentsService_post_streamFileContent

java.lang.Object AgentsService_post_streamFileContent
Called with the result of stream file content which can be an input stream in which case it gets decorated with a DataMaskingInputStream to hide the passwords and keys


AgentsService_pre_streamFileContent

java.lang.Object AgentsService_pre_streamFileContent
Called prior to stream the file content. Enforces unrestricted location when defined and user is not and admin


PluginService_initialize

java.lang.Object PluginService_initialize
Called on initialization


authorizationService

@Initializable
AuthorizationService authorizationService


maskFileContent

@Initializable
boolean maskFileContent


unrestrictedLocation

@Initializable
java.lang.String unrestrictedLocation


unrestrictedRole

@Initializable
java.lang.String unrestrictedRole


 

Groovy Documentation