Hi Santosh,
Hudson and Artifactory have two different purposes but can be used in conjunction with each other. Hudson can be used to build software packages. Artifactory is a repository manager.
Software packages that Hudson builds can be deployed into an Artifactory instance using the
Jenkins/Hudson Artifactory Plugin.
Hudson cannot directly limit the dependencies that a project is using. However, if the project is using Maven 2, Maven 3, Gradle or ant/ivy to manage the dependencies, then the build script itself could be configured to only pull artifacts from your local Artifactory instance. You could then limit software that was in your Artifactory server by whatever criteria you have. There would always be ways for developers to work around this (including jars directly in the project itself or modifying the build) and this could be handled in other ways outside of Hudson and Artifactory.
Lloyd