Re: [xwiki-users] How to list the subspace under the space?

2010-06-01 Thread xManish
Hi Guillaume, Can you explain in little bit detail on how to obtain the *Space *Page *SubPage hierarchy in Xwiki? Thanks, Manish -- View this message in context: http://xwiki.475771.n2.nabble.com/How-to-list-the-subspace-under-the-space-Little-bit-successful-need-more-steps-to-Go-tp50953

Re: [xwiki-users] How to list the subspace under the space?

2010-06-02 Thread xManish
I hadn't seen that. Thanks for sharing. -- View this message in context: http://xwiki.475771.n2.nabble.com/How-to-list-the-subspace-under-the-space-Little-bit-successful-need-more-steps-to-Go-tp5095367p5130817.html Sent from the XWiki- Users mailing list archive at Nabble.com. __

Re: [xwiki-users] XWiki Instalation

2010-06-07 Thread xManish
Maria Carolina Ramirez wrote: > > I supposed that all of this errors are happening because I have to > install the *.xar files > > And then I got this error and that's all. I can't see nothing else. > > 16:48:03,158 INFO [STDOUT] Hibernate: select xwikidocum0_.XWD_ID as > XWD1_0_0_, xwikidoc

Re: [xwiki-users] How to add a page with contents in xwiki through Rest api???

2010-06-16 Thread xManish
Nithya Vembu wrote: > > But i dont getting clear idea, how can i create a page under space with > some contents.. and i am not getting any good samples for xwiki rest api. > > ... > > Kindly anyone give me idea how rest will get differentiate in xwiki > manner.. > > Can anyone give me a cod

Re: [xwiki-users] How to add a page with contents in xwiki through Rest api???

2010-06-17 Thread xManish
Jerome Velociter wrote: > > Hi Nithya, Manish > > Have you checked > http://platform.xwiki.org/xwiki/bin/view/Features/XWikiRESTfulAPI#HPageresources > ? > > In particular : > > /wikis/{wikiName}/spaces/{spaceName}/pages/{pageName} > HTTP Method: PUT > * Accepted Media types: >

Re: [xwiki-users] How to add a page with contents in xwiki through Rest api???

2010-06-21 Thread xManish
I might really have to apologize to the main creator of this thread for using the thread. Jerome, I'll start a new thread on this topic. "Adding user through Rest Api". Would you please join me there? -- View this message in context: http://xwiki.475771.n2.nabble.com/How-to-add-a-page-with-con

[xwiki-users] Adding user through Rest API

2010-06-21 Thread xManish
I added page in the xwiki through Rest Api in following way. Would somebody please advise me how to add user to the xwiki system in the similiar way. public void add() { final String CONTENT = "Content 101"; final String TITLE = "Title 101"; final String PARENT = "Private.

Re: [xwiki-users] How to add a page with contents in xwiki through Rest api???

2010-06-21 Thread xManish
Hi Jerome, Ya of course having /wikis/{wikiName}/users would have been nice. :) But coming to reality, I still have the problem creating user. Here is the code on how I created the wiki page. Can you advise me how to create the wiki user in the similiear manner? public void myAddMethod() {

[xwiki-users] Altering Access Rights from REST Api

2010-06-22 Thread xManish
Hello, I was able to create a wiki page through API. Now I wanted to restrict some of the access rights for certain users to that particular wikipage through REST Api. For example, How can we restrict a certain user from viewing a particular wiki page through REST Api? In XWiki, this could be ac

Re: [xwiki-users] How to add a page with contents in xwiki through Rest api???

2010-06-22 Thread xManish
I think I will have to apologize the original creator of this thread for using it to discuss my issue. Jerome, could you please join me in the another thread that I've created for this issue. Its 'Create User in XWiki from REST Api' under XWiki-Dev. THankyou, manish -- View this message in cont

Re: [xwiki-users] Altering Access Rights from REST Api

2010-06-23 Thread xManish
Fabio Mancinelli-4 wrote: > > So as long as what you want to do is achievable by page and object > manipulation (like the most of the XWiki functionalities) you are able > to use the REST api to do it. > Hi Fabio, Thanks for replying to my thread. Coming to the creating user issue. Does tha

Re: [xwiki-users] Altering Access Rights from REST Api

2010-06-24 Thread xManish
Marius Dumitru Florea wrote: > > > All this personal information is stored in the XWiki.XWikiUsers object. > Go to your profile page, edit with the object editor and expand the > XWiki.XWikiUsers object. You'll see a lot of properties. I'm sure there > is a way to set those properties using

Re: [xwiki-users] Altering Access Rights from REST Api

2010-06-24 Thread xManish
Fabio Mancinelli-4 wrote: > > Using curl, for example you would have done something like this: > > $ curl -v -u Admin:admin -X PUT -H "Content-type: text/plain" > --data-ascii "Real User01 Name" > http://localhost:8080/xwiki/rest/wikis/xwiki/spaces/XWiki/pages/user01/objects/XWiki.XWikiUsers/

[xwiki-users] How to Make Access right permissions for the wikipage Private ?

2010-06-29 Thread xManish
Hello All, I have some question regarding access rights while creating a page in XWiki. I'm trying to create a private wiki space, meaning the wiki page created in that space should be viewable or commented or deleted only by the creator of the wiki page. I have a following scenario I have a grou

[xwiki-users] How to Make Access right permissions for the wikipage Private ?

2010-06-29 Thread xManish
Hello All, I have some question regarding access rights while creating a page in XWiki. I'm trying to create a private wiki space, meaning the wiki page created in that space should be viewable or commented or deleted only by the creator of the wiki page. I have a following scenario I have a grou

[xwiki-users] Single sign on

2010-07-15 Thread xManish
in advance, xManish -- View this message in context: http://xwiki.475771.n2.nabble.com/Single-sign-on-tp5299320p5299320.html Sent from the XWiki- Users mailing list archive at Nabble.com. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailma

Re: [xwiki-users] Single sign on

2010-07-16 Thread xManish
Sergiu Dumitriu-2 wrote: > > XWiki authenticates using cookies. You could duplicate the code that > adds the right cookies > (com.xpn.xwiki.user.impl.xwiki.MyPersistentLoginManager#rememberLogin) > into your application, and XWiki will automatically see them and login > the right user. Don't

Re: [xwiki-users] Single sign on

2010-07-16 Thread xManish
Sergiu Dumitriu-2 wrote: > > Actually, it says this in xwiki.cfg, above the keys: > > #-# Cookie encryption keys. You SHOULD replace these values with any > random string, > #-# as long as the length is the same. > > So you should generate keys with 32 characters. > I mis-interpreted it. I t

Re: [xwiki-users] Single sign on

2010-07-18 Thread xManish
I got it right. For some reason, I thought I had to convert the key to HEX. I was wrong. I changed the code like below and it worked... :) for secretkey, String secret = "titititititititititititititititi"; (the one from xwiki.cfg) byte[] theKey = secret.getBytes(); KeySpec ks = new DESKeySpec(th