Class UserAdministrationUtils

java.lang.Object
com.atlassian.bamboo.ww2.actions.admin.user.UserAdministrationUtils

public class UserAdministrationUtils extends Object
Some helper methods for helping administration of users
  • Constructor Details

    • UserAdministrationUtils

      public UserAdministrationUtils()
  • Method Details

    • processInfrastructureExceptionForCrowdException

      public static void processInfrastructureExceptionForCrowdException(@NotNull @NotNull com.atlassian.core.exception.InfrastructureException e, @NotNull @NotNull BambooActionSupport action) throws com.atlassian.core.exception.InfrastructureException
      Crowd (as of 1.5) does not respond correctly for the isReadOnly method. Thus mutations to an Atlassian user may throw an InfrastructureException. Here we try to handle this case nicely to make configuration a little easier. Exception is rethrown if not a known type
      Parameters:
      e -
      action -
      Throws:
      com.atlassian.core.exception.InfrastructureException