Basic authentication does not work properly
-------------------------------------------

                 Key: REGISTRY-111
                 URL: http://wso2.org/jira/browse/REGISTRY-111
             Project: WSO2 Registry
          Issue Type: Bug
            Reporter: Deepal Jayasinghe
         Assigned To: Chathura Ekanayake


I think that the basic authentication does not work properly , follow the 
following steps then you can recreate the issue
 1- Install wso2registry.war
 2- start tomcat
 3.- Write a simple java class and run the following code
     Registry registry = new RemoteRegistry(new 
URL("http://localhost:8080/wso2registry/atom";) ,"admin" ,"admin");
        Resource resource = new Resource();
        String conet = "My content";
        resource.setContent(conet.getBytes());
        registry.put("/d1/r1",resource);

That will create a resource with some content 

 4- then go and access the resource , you will be able to access the resource 
without login or sending any authentication data



-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://wso2.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

_______________________________________________
Registry-dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/registry-dev

Reply via email to