Class ServerCloudSecurityImpl
- java.lang.Object
-
- jetbrains.buildServer.clouds.server.impl.auth.ServerCloudSecurityImpl
-
- All Implemented Interfaces:
CloudSecurity
public class ServerCloudSecurityImpl extends Object implements CloudSecurity
- Author:
- Eugene Petrenko Created: 11.11.2009 22:34:34
-
-
Constructor Summary
Constructors Constructor Description ServerCloudSecurityImpl(SecurityContextEx securityContext, CloudManagerBase cloudManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleancanStartInstancesInProjectCloud(String projectId)booleancanViewCloudAgentsInAnyProject()booleancanViewProjectCloudAgents(String projectId)voidcheckReadAccess(String projectId)voidcheckStartStopInstanceAccess(String profileId)voidcheckStartStopInstanceAccess(String profileId, String imageId)Deprecated.voidcheckStartStopInstanceAccess(String projectId, String profileId, String imageId)voidcheckStartStopInstanceAccessInProject(String projectId)voidcheckWriteAccess(String projectId)
-
-
-
Constructor Detail
-
ServerCloudSecurityImpl
public ServerCloudSecurityImpl(@NotNull SecurityContextEx securityContext, @NotNull CloudManagerBase cloudManager)
-
-
Method Detail
-
checkStartStopInstanceAccessInProject
public void checkStartStopInstanceAccessInProject(@NotNull String projectId)- Specified by:
checkStartStopInstanceAccessInProjectin interfaceCloudSecurity
-
checkStartStopInstanceAccess
public void checkStartStopInstanceAccess(@NotNull String projectId, @NotNull String profileId, @NotNull String imageId)- Specified by:
checkStartStopInstanceAccessin interfaceCloudSecurity
-
checkStartStopInstanceAccess
public void checkStartStopInstanceAccess(@NotNull String profileId, @NotNull String imageId)Deprecated.- Specified by:
checkStartStopInstanceAccessin interfaceCloudSecurity- Parameters:
profileId-imageId-
-
checkStartStopInstanceAccess
public void checkStartStopInstanceAccess(@NotNull String profileId)- Specified by:
checkStartStopInstanceAccessin interfaceCloudSecurity
-
checkReadAccess
public void checkReadAccess(@NotNull String projectId)- Specified by:
checkReadAccessin interfaceCloudSecurity
-
checkWriteAccess
public void checkWriteAccess(@NotNull String projectId)- Specified by:
checkWriteAccessin interfaceCloudSecurity
-
canViewProjectCloudAgents
public boolean canViewProjectCloudAgents(@NotNull String projectId)- Specified by:
canViewProjectCloudAgentsin interfaceCloudSecurity
-
canViewCloudAgentsInAnyProject
public boolean canViewCloudAgentsInAnyProject()
- Specified by:
canViewCloudAgentsInAnyProjectin interfaceCloudSecurity- Returns:
- true if there is at least one project where current user can see cloud images/instances
-
canStartInstancesInProjectCloud
public boolean canStartInstancesInProjectCloud(@NotNull String projectId)- Specified by:
canStartInstancesInProjectCloudin interfaceCloudSecurity
-
-