org.rhq.core.domain.util
Class AuthzConstants

java.lang.Object
  extended by org.rhq.core.domain.util.AuthzConstants

public final class AuthzConstants
extends Object


Field Summary
static String applicationResType
           
static String appOpControlApplication
           
static String appOpCreateApplication
           
static String appOpManageAlerts
           
static String appOpModifyApplication
           
static String appOpMonitorApplication
           
static String appOpRemoveApplication
           
static String appOpViewApplication
           
static Integer authzApplication
           
static int authzDefaultResourceGroupType
           
static Integer authzGroup
           
static Integer authzLocation
           
static Integer authzPlatform
           
static Integer authzResourceGroupId
           
static String authzResourceGroupName
           
static Integer authzRole
           
static Integer authzServer
           
static Integer authzService
           
static Integer authzSubject
           
static String creatorRoleName
           
static String groupOpAddRole
           
static String groupOpManageAlerts
           
static String groupOpModifyResourceGroup
           
static String groupOpRemoveResourceGroup
           
static String groupOpViewResourceGroup
           
static String groupResourceTypeName
           
static String groupResType
           
static String overlordDsn
           
static int overlordId
           
static Integer overlordIdInteger
           
static String overlordName
           
static Integer perm_modifyApplication
           
static Integer perm_modifyPlatform
           
static Integer perm_modifyResourceGroup
           
static Integer perm_modifyRole
           
static Integer perm_modifyServer
           
static Integer perm_modifyService
           
static Integer perm_modifySubject
           
static Integer perm_removeApplication
           
static Integer perm_removePlatform
           
static Integer perm_removeResourceGroup
           
static Integer perm_removeRole
           
static Integer perm_removeServer
           
static Integer perm_removeService
           
static Integer perm_removeSubject
           
static Integer perm_viewApplication
           
static Integer perm_viewPlatform
           
static Integer perm_viewResourceGroup
           
static Integer perm_viewRole
           
static Integer perm_viewServer
           
static Integer perm_viewService
           
static Integer perm_viewSubject
           
static String platformOpAddServer
           
static String platformOpControlPlatform
           
static String platformOpCreatePlatform
           
static String platformOpManageAlerts
           
static String platformOpModifyPlatform
           
static String platformOpMonitorPlatform
           
static String platformOpRemovePlatform
           
static String platformOpViewPlatform
           
static String platformResType
           
static String privateRoleGroupName
           
static String roleOpCreateRole
           
static String roleOpModifyRole
           
static String roleOpRemoveRole
           
static String roleOpViewRole
           
static String roleResourceTypeName
           
static String rootOpCAMAdmin
           
static Integer rootResourceGroupId
           
static String rootResourceGroupName
           
static Integer rootResourceId
           
static String rootResType
           
static Integer rootRoleId
           
static String rootRoleName
           
static Integer rootSubjectId
           
static String serverOpAddService
           
static String serverOpControlServer
           
static String serverOpCreateServer
           
static String serverOpManageAlerts
           
static String serverOpModifyServer
           
static String serverOpMonitorServer
           
static String serverOpRemoveServer
           
static String serverOpViewServer
           
static String serverResType
           
static String serviceOpControlService
           
static String serviceOpCreateService
           
static String serviceOpManageAlerts
           
static String serviceOpModifyService
           
static String serviceOpMonitorService
           
static String serviceOpRemoveService
           
static String serviceOpViewService
           
static String serviceResType
           
static String subjectOpCreateSubject
           
static String subjectOpModifySubject
           
static String subjectOpRemoveSubject
           
static String subjectOpViewSubject
           
static String subjectResourceTypeName
           
static String typeOpAddOperation
           
static String typeOpCreateResource
           
static String typeOpModifyResourceType
           
static String typeOpRemoveOperation
           
static String typeResourceTypeName
           
 
Constructor Summary
AuthzConstants()
           
 
Method Summary
static boolean isOverlord(Integer subject)
           
static boolean isOverlord(Subject subject)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

rootResType

public static final String rootResType
See Also:
Constant Field Values

rootResourceId

public static final Integer rootResourceId

rootSubjectId

public static final Integer rootSubjectId

groupResourceTypeName

public static final String groupResourceTypeName
See Also:
Constant Field Values

rootResourceGroupName

public static final String rootResourceGroupName
See Also:
Constant Field Values

rootResourceGroupId

public static final Integer rootResourceGroupId

authzResourceGroupId

public static final Integer authzResourceGroupId

platformResType

public static final String platformResType
See Also:
Constant Field Values

serverResType

public static final String serverResType
See Also:
Constant Field Values

serviceResType

public static final String serviceResType
See Also:
Constant Field Values

applicationResType

public static final String applicationResType
See Also:
Constant Field Values

groupResType

public static final String groupResType
See Also:
Constant Field Values

platformOpCreatePlatform

public static final String platformOpCreatePlatform
See Also:
Constant Field Values

platformOpModifyPlatform

public static final String platformOpModifyPlatform
See Also:
Constant Field Values

platformOpRemovePlatform

public static final String platformOpRemovePlatform
See Also:
Constant Field Values

platformOpAddServer

public static final String platformOpAddServer
See Also:
Constant Field Values

platformOpViewPlatform

public static final String platformOpViewPlatform
See Also:
Constant Field Values

platformOpMonitorPlatform

public static final String platformOpMonitorPlatform
See Also:
Constant Field Values

platformOpControlPlatform

public static final String platformOpControlPlatform
See Also:
Constant Field Values

platformOpManageAlerts

public static final String platformOpManageAlerts
See Also:
Constant Field Values

serverOpCreateServer

public static final String serverOpCreateServer
See Also:
Constant Field Values

serverOpModifyServer

public static final String serverOpModifyServer
See Also:
Constant Field Values

serverOpRemoveServer

public static final String serverOpRemoveServer
See Also:
Constant Field Values

serverOpAddService

public static final String serverOpAddService
See Also:
Constant Field Values

serverOpViewServer

public static final String serverOpViewServer
See Also:
Constant Field Values

serverOpMonitorServer

public static final String serverOpMonitorServer
See Also:
Constant Field Values

serverOpControlServer

public static final String serverOpControlServer
See Also:
Constant Field Values

serverOpManageAlerts

public static final String serverOpManageAlerts
See Also:
Constant Field Values

serviceOpCreateService

public static final String serviceOpCreateService
See Also:
Constant Field Values

serviceOpModifyService

public static final String serviceOpModifyService
See Also:
Constant Field Values

serviceOpRemoveService

public static final String serviceOpRemoveService
See Also:
Constant Field Values

serviceOpViewService

public static final String serviceOpViewService
See Also:
Constant Field Values

serviceOpMonitorService

public static final String serviceOpMonitorService
See Also:
Constant Field Values

serviceOpControlService

public static final String serviceOpControlService
See Also:
Constant Field Values

serviceOpManageAlerts

public static final String serviceOpManageAlerts
See Also:
Constant Field Values

appOpCreateApplication

public static final String appOpCreateApplication
See Also:
Constant Field Values

appOpModifyApplication

public static final String appOpModifyApplication
See Also:
Constant Field Values

appOpRemoveApplication

public static final String appOpRemoveApplication
See Also:
Constant Field Values

appOpViewApplication

public static final String appOpViewApplication
See Also:
Constant Field Values

appOpMonitorApplication

public static final String appOpMonitorApplication
See Also:
Constant Field Values

appOpControlApplication

public static final String appOpControlApplication
See Also:
Constant Field Values

appOpManageAlerts

public static final String appOpManageAlerts
See Also:
Constant Field Values

groupOpViewResourceGroup

public static final String groupOpViewResourceGroup
See Also:
Constant Field Values

groupOpManageAlerts

public static final String groupOpManageAlerts
See Also:
Constant Field Values

perm_viewSubject

public static final Integer perm_viewSubject

perm_viewRole

public static final Integer perm_viewRole

perm_viewResourceGroup

public static final Integer perm_viewResourceGroup

perm_viewPlatform

public static final Integer perm_viewPlatform

perm_viewServer

public static final Integer perm_viewServer

perm_viewService

public static final Integer perm_viewService

perm_viewApplication

public static final Integer perm_viewApplication

perm_modifySubject

public static final Integer perm_modifySubject

perm_modifyRole

public static final Integer perm_modifyRole

perm_modifyResourceGroup

public static final Integer perm_modifyResourceGroup

perm_modifyPlatform

public static final Integer perm_modifyPlatform

perm_modifyServer

public static final Integer perm_modifyServer

perm_modifyService

public static final Integer perm_modifyService

perm_modifyApplication

public static final Integer perm_modifyApplication

perm_removeSubject

public static final Integer perm_removeSubject

perm_removeRole

public static final Integer perm_removeRole

perm_removeResourceGroup

public static final Integer perm_removeResourceGroup

perm_removePlatform

public static final Integer perm_removePlatform

perm_removeServer

public static final Integer perm_removeServer

perm_removeService

public static final Integer perm_removeService

perm_removeApplication

public static final Integer perm_removeApplication

rootRoleName

public static final String rootRoleName
See Also:
Constant Field Values

rootRoleId

public static final Integer rootRoleId

creatorRoleName

public static final String creatorRoleName
See Also:
Constant Field Values

subjectResourceTypeName

public static final String subjectResourceTypeName
See Also:
Constant Field Values

typeResourceTypeName

public static final String typeResourceTypeName
See Also:
Constant Field Values

roleResourceTypeName

public static final String roleResourceTypeName
See Also:
Constant Field Values

overlordId

public static final int overlordId
See Also:
Constant Field Values

overlordIdInteger

public static final Integer overlordIdInteger

overlordName

public static final String overlordName
See Also:
Constant Field Values

overlordDsn

public static final String overlordDsn
See Also:
Constant Field Values

authzResourceGroupName

public static final String authzResourceGroupName
See Also:
Constant Field Values

rootOpCAMAdmin

public static final String rootOpCAMAdmin
See Also:
Constant Field Values

typeOpCreateResource

public static final String typeOpCreateResource
See Also:
Constant Field Values

typeOpModifyResourceType

public static final String typeOpModifyResourceType
See Also:
Constant Field Values

typeOpAddOperation

public static final String typeOpAddOperation
See Also:
Constant Field Values

typeOpRemoveOperation

public static final String typeOpRemoveOperation
See Also:
Constant Field Values

subjectOpViewSubject

public static final String subjectOpViewSubject
See Also:
Constant Field Values

subjectOpModifySubject

public static final String subjectOpModifySubject
See Also:
Constant Field Values

subjectOpRemoveSubject

public static final String subjectOpRemoveSubject
See Also:
Constant Field Values

subjectOpCreateSubject

public static final String subjectOpCreateSubject
See Also:
Constant Field Values

roleOpCreateRole

public static final String roleOpCreateRole
See Also:
Constant Field Values

roleOpModifyRole

public static final String roleOpModifyRole
See Also:
Constant Field Values

roleOpRemoveRole

public static final String roleOpRemoveRole
See Also:
Constant Field Values

roleOpViewRole

public static final String roleOpViewRole
See Also:
Constant Field Values

groupOpModifyResourceGroup

public static final String groupOpModifyResourceGroup
See Also:
Constant Field Values

groupOpAddRole

public static final String groupOpAddRole
See Also:
Constant Field Values

groupOpRemoveResourceGroup

public static final String groupOpRemoveResourceGroup
See Also:
Constant Field Values

privateRoleGroupName

public static final String privateRoleGroupName
See Also:
Constant Field Values

authzDefaultResourceGroupType

public static final int authzDefaultResourceGroupType
See Also:
Constant Field Values

authzSubject

public static final Integer authzSubject

authzRole

public static final Integer authzRole

authzGroup

public static final Integer authzGroup

authzPlatform

public static final Integer authzPlatform

authzServer

public static final Integer authzServer

authzService

public static final Integer authzService

authzApplication

public static final Integer authzApplication

authzLocation

public static final Integer authzLocation
Constructor Detail

AuthzConstants

public AuthzConstants()
Method Detail

isOverlord

public static boolean isOverlord(Integer subject)

isOverlord

public static boolean isOverlord(Subject subject)


Copyright © 2008-2009 RHQ Project Advisory Board (Red Hat, Inc.). All Rights Reserved.