Adding the repository authentication service.



git-svn-id: https://svn.wso2.org/repos/wso2/carbon/platform/trunk@180720 a5903396-d722-0410-b921-86c7d4935375
fixing JIRA https://wso2.org/jira/browse/SS-104


git-svn-id: https://svn.wso2.org/repos/wso2/carbon/platform/trunk@180721 a5903396-d722-0410-b921-86c7d4935375
change method order

git-svn-id: https://svn.wso2.org/repos/wso2/carbon/platform/trunk@180722 a5903396-d722-0410-b921-86c7d4935375
removed unused imports

git-svn-id: https://svn.wso2.org/repos/wso2/carbon/platform/trunk@180723 a5903396-d722-0410-b921-86c7d4935375