chemistry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Florian Müller <f...@apache.org>
Subject Re: CMIS Android Browser - How is the username and password sent to the server?
Date Fri, 14 Sep 2012 11:10:47 GMT
 Hi Sagara,

 That is exactly what we need.
 The request does not have an Authorization header. That is, the client 
 didn't provide a username and a password.
 Check if you can set in the app somewhere.


 - Florian



> Hi Florian,
>
> What sort of information would you need? I recorded this.
>
> GET /GregCmisServer/atom/ HTTP/1.1
> Host: localhost:8080
> Connection: Keep-Alive
> User-Agent: Apache-HttpClient/UNAVAILABLE (java 1.4)
>
> 
> ----------------------------------------------------------------------------------------------------------------
>
> HTTP/1.1 200 OK
> Cache-Control: private, max-age=0
> Server: Apache-Chemistry-OpenCMIS/0.7.0
> Content-Type: application/atomsvc+xml
> Transfer-Encoding: chunked
> Date: Fri, 14 Sep 2012 10:19:17 GMT
>
> 11fc
> <?xml version='1.0' encoding='UTF-8'?><app:service xmlns:app="
> http://www.w3.org/2007/app" xmlns:atom="http://www.w3.org/2005/Atom"
> xmlns:cmis="http://docs.oasis-open.org/ns/cmis/core/200908/" 
> xmlns:cmisra="
> 
> http://docs.oasis-open.org/ns/cmis/restatom/200908/"><app:workspace><atom:title>Governance
> Registry</atom:title><app:collection href="
> 
> http://localhost:8080/GregCmisServer/atom/Governance%20Registry/children?id=%2F"><cmisra:collectionType>root</cmisra:collectionType><atom:title
> type="text">Root
> 
> Collection</atom:title><app:accept>application/atom+xml;type=entry</app:accept><app:accept>application/cmisatom+xml</app:accept></app:collection><app:collection
> 
> href="http://localhost:8080/GregCmisServer/atom/Governance%20Registry/types"><cmisra:collectionType>types</cmisra:collectionType><atom:title
> type="text">Types
> 
> Collection</atom:title><app:accept></app:accept></app:collection><app:collection
> href="
> 
> http://localhost:8080/GregCmisServer/atom/Governance%20Registry/checkedout"><cmisra:collectionType>checkedout</cmisra:collectionType><atom:title
> type="text">Checked Out
> 
> Collection</atom:title><app:accept>application/cmisatom+xml</app:accept></app:collection><cmisra:repositoryInfo
> 
> xmlns:ns3="http://docs.oasis-open.org/ns/cmis/messaging/200908/"><cmis:repositoryId>Governance
> Registry</cmis:repositoryId><cmis:repositoryName>Governance
> Registry</cmis:repositoryName><cmis:repositoryDescription>Test - This 
> is a
> description of Governance Registry.
> 
> @GregRepository.java</cmis:repositoryDescription><cmis:vendorName>****</cmis:vendorName><cmis:productName>OpenCMIS
> 
>
Greg</cmis:productName><cmis:productVersion>0.1</cmis:productVersion><cmis:rootFolderId>/</cmis:rootFolderId><cmis:capabilities><cmis:capabilityACL>none</cmis:capabilityACL><cmis:capabilityAllVersionsSearchable>false</cmis:capabilityAllVersionsSearchable><cmis:capabilityChanges>none</cmis:capabilityChanges><cmis:capabilityContentStreamUpdatability>anytime</cmis:capabilityContentStreamUpdatability><cmis:capabilityGetDescendants>true</cmis:capabilityGetDescendants><cmis:capabilityGetFolderTree>true</cmis:capabilityGetFolderTree><cmis:capabilityMultifiling>false</cmis:capabilityMultifiling><cmis:capabilityPWCSearchable>false</cmis:capabilityPWCSearchable><cmis:capabilityPWCUpdatable>true</cmis:capabilityPWCUpdatable><cmis:capabilityQuery>none</cmis:capabilityQuery><cmis:capabilityRenditions>none</cmis:capabilityRenditions><cmis:capabilityUnfiling>false</cmis:capabilityUnfiling><cmis:capabilityVersionSpecificFiling>false</cmis:capabilityVersionSpecificFiling><cmis:capabilityJoin>none</cm
is:capabilityJoin></cmis:capabilities><cmis:cmisVersionSupported>1.0</cmis:cmisVersionSupported><cmis:thinClientURI></cmis:thinClientURI></cmisra:repositoryInfo><atom:link
> rel="http://docs.oasis-open.org/ns/cmis/link/200908/typedescendants" 
> href="
> 
> http://localhost:8080/GregCmisServer/atom/Governance%20Registry/typedesc"
> type="application/atom+xml;type=feed" /><atom:link rel="
> http://docs.oasis-open.org/ns/cmis/link/200908/foldertree" href="
> 
> http://localhost:8080/GregCmisServer/atom/Governance%20Registry/foldertree?id=%2F"
> type="application/cmistree+xml" /><atom:link rel="
> http://docs.oasis-open.org/ns/cmis/link/200908/rootdescendants" 
> href="
> 
> http://localhost:8080/GregCmisServer/atom/Governance%20Registry/descendants?id=%2F"
> type="application/cmistree+xml" cmisra:id="/"
> /><cmisra:uritemplate><cmisra:template>
> 
> http://localhost:8080/GregCmisServer/atom/Governance%20Registry/id?id={id}&filter={filter}&includeAllowableActions={includeAllowableActions}&includeACL={includeACL}&includePolicyIds={includePolicyIds}&includeRelationships={includeRelationships}&renditionFilter={renditionFilter}
> 
> </cmisra:template><cmisra:type>objectbyid</cmisra:type><cmisra:mediatype>application/atom+xml;type=entry</cmisra:mediatype></cmisra:uritemplate><cmisra:uritemplate><cmisra:template>
> 
> http://localhost:8080/GregCmisServer/atom/Governance%20Registry/path?path={path}&filter={filter}&includeAllowableActions={includeAllowableActions}&includeACL={includeACL}&includePolicyIds={includePolicyIds}&includeRelationships={includeRelationships}&renditionFilter={renditionFilter}
> 
> </cmisra:template><cmisra:type>objectbypath</cmisra:type><cmisra:mediatype>application/atom+xml;type=entry</cmisra:mediatype></cmisra:uritemplate><cmisra:uritemplate><cmisra:template>
> 
> http://localhost:8080/GregCmisServer/atom/Governance%20Registry/type?id={id}
> 
> </cmisra:template><cmisra:type>typebyid</cmisra:type><cmisra:mediatype>application/atom+xml;type=entry</cmisra:mediatype></cmisra:uritemplate></app:workspace></app:service>
> 0
>
> Thanks,
> Sagara


Mime
View raw message