jetbrains.buildServer.controllers
Class FileSecurityUtil

java.lang.Object
  extended by jetbrains.buildServer.controllers.FileSecurityUtil

public abstract class FileSecurityUtil
extends java.lang.Object

Author:
Maxim Podkolzine (maxim.podkolzine@jetbrains.com)

Constructor Summary
FileSecurityUtil()
           
 
Method Summary
static void checkSecurityViolation(java.lang.String fileName, AuthorityHolder currentAuthHolder)
          Checks that fileName is a correct relative file name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileSecurityUtil

public FileSecurityUtil()
Method Detail

checkSecurityViolation

public static void checkSecurityViolation(@NotNull
                                          java.lang.String fileName,
                                          AuthorityHolder currentAuthHolder)
Checks that fileName is a correct relative file name.

Parameters:
fileName - the relative name of file
currentAuthHolder - current authority holder