Interface SecurityService

  • All Superinterfaces:
    Service

    public interface SecurityService
    extends Service
    This class provides the ability to work with users and user groups on the target system. It only applies to setting Conditions for Wizard actions on target systems with a UNIX or Windows NT/2000 OS.
    • Field Detail

      • NAME

        static final java.lang.String NAME
    • Method Detail

      • isCurrentUserAdmin

        boolean isCurrentUserAdmin()
                            throws ServiceException
        This method is useful to developers when creating a custom bean. Checks if the current user has admin privileges.
        Returns:
        "True" if the user is "admin" ("root" in UNIX). Also "True" if the user is an Administrator in Windows.
        Throws:
        ServiceException
      • createUser

        void createUser​(UserSpecification userSpec)
                 throws ServiceException
        This method is useful to developers when creating a custom bean. Creates a new user according to the specifications.
        Parameters:
        userSpec - UserSpecification for defining a new user.
        Throws:
        ServiceException
      • deleteUser

        void deleteUser​(UserSpecification userSpec)
                 throws ServiceException
        This method is useful to developers when creating a custom bean. Deletes the user defined by the specification.
        Parameters:
        userSpec - UserSpecification for the user to delete.
        Throws:
        ServiceException
      • deleteUser

        void deleteUser​(java.lang.String userid)
                 throws ServiceException
        This method is useful to developers when creating a custom bean. Deletes a user with a specific userid.
        Parameters:
        Userid - The User ID to delete.
        Throws:
        ServiceException
      • createGroup

        void createGroup​(GroupSpecification groupSpec)
                  throws ServiceException
        This method is useful to developers when creating a custom bean. Creates a new group according to the specifications.
        Parameters:
        groupSpec - The GroupSpecification for defining the new group.
        Throws:
        ServiceException
      • deleteGroup

        void deleteGroup​(java.lang.String groupid)
                  throws ServiceException
        This method is useful to developers when creating a custom bean. Deletes a group with a specified groupid.
        Parameters:
        Groupid - The Group ID to delete.
        Throws:
        ServiceException
      • deleteGroup

        void deleteGroup​(GroupSpecification groupSpec)
                  throws ServiceException
        This method is useful to developers when creating a custom bean. Deletes a group as defined by the specification.
        Parameters:
        groupSpecification - The specification of the group to delete.
        Throws:
        ServiceException