org.drools.guvnor.server
Class ServiceSecurity

java.lang.Object
  extended by org.drools.guvnor.server.ServiceSecurity

public class ServiceSecurity
extends Object

Handles security checks.


Constructor Summary
ServiceSecurity()
           
 
Method Summary
protected  void checkPermissionAnalystReadWithCategoryPathType(String categoryPath)
           
protected  void checkSecurityIsAdmin()
           
protected  void checkSecurityIsPackageAdminWithAdminType()
           
protected  void checkSecurityIsPackageAdminWithPackageName(String packageName)
           
protected  void checkSecurityIsPackageAdminWithPackageUuid(String uuid)
           
protected  void checkSecurityIsPackageDeveloperWithPackageName(String packageName)
           
protected  void checkSecurityIsPackageDeveloperWithPackageUuid(String uuid)
           
protected  void checkSecurityIsPackageReadOnlyWithPackageName(String packageName)
           
protected  void checkSecurityPackageReadOnlyWithPackageUuid(String uuid)
           
protected  boolean hasPermissionAnalystReadWithCategoryPathType(String categoryPath)
           
protected  boolean isSecurityIsAnalystReadWithTargetObject(Object target)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServiceSecurity

public ServiceSecurity()
Method Detail

checkSecurityIsAdmin

protected void checkSecurityIsAdmin()

isSecurityIsAnalystReadWithTargetObject

protected boolean isSecurityIsAnalystReadWithTargetObject(Object target)

checkPermissionAnalystReadWithCategoryPathType

protected void checkPermissionAnalystReadWithCategoryPathType(String categoryPath)

hasPermissionAnalystReadWithCategoryPathType

protected boolean hasPermissionAnalystReadWithCategoryPathType(String categoryPath)

checkSecurityIsPackageAdminWithPackageName

protected void checkSecurityIsPackageAdminWithPackageName(String packageName)

checkSecurityIsPackageAdminWithAdminType

protected void checkSecurityIsPackageAdminWithAdminType()

checkSecurityIsPackageAdminWithPackageUuid

protected void checkSecurityIsPackageAdminWithPackageUuid(String uuid)

checkSecurityIsPackageDeveloperWithPackageUuid

protected void checkSecurityIsPackageDeveloperWithPackageUuid(String uuid)

checkSecurityIsPackageDeveloperWithPackageName

protected void checkSecurityIsPackageDeveloperWithPackageName(String packageName)

checkSecurityIsPackageReadOnlyWithPackageName

protected void checkSecurityIsPackageReadOnlyWithPackageName(String packageName)

checkSecurityPackageReadOnlyWithPackageUuid

protected void checkSecurityPackageReadOnlyWithPackageUuid(String uuid)


Copyright © 2001-2011 JBoss by Red Hat. All Rights Reserved.