You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@sling.apache.org by Christian Eugster <ch...@gmx.net> on 2013/04/24 07:22:38 UTC

OCM

Hi,

is there an actual description how to use ocm in sling? I've found a 
page marked as outdated with little information.

Christian

**************************************
Christian Eugster
Grissian 14
I-39010 Tisens
0039 0473 420 873
0041 79 594 85 45
christian.eugster@gmx.net

Am 23.04.13 11:02, schrieb Bertrand Delacretaz:
> Hi,
>
> On Tue, Apr 23, 2013 at 8:08 AM, Christian Eugster
> <ch...@gmx.net> wrote:
>> ...After initializing there is indeed a node "pages/home" under content. But
>> looking in the sling jcr explorer, there are no properties at all given for
>> this node "home" (nor for "pages". Looking "directly" in jcr (via a self
>> built view in eclipse) the properties are shown....
>
> Might be a bug in the explorer? I'd use /pages/home.tidy.infinity.json
> to see exactly what's in there.
>
>> ...When I call the page via browser
>> (http://localhost:8888/content/pages/home.html) the page is laid out but the
>> content is shown as follows...
>
> Looks like Sling's default HTML rendering. If your /pages/home node
> has "sling:resourceType": "thun/home" a script at
> /apps/thun/home/home.esp should be used to render /pages/home.html.
> The recents requests plugin at system/console/requests outputs
> debugging information that should help figure out what's going on.
>
> -Bertrand
>

Re: OCM

Posted by Christian Eugster <ch...@gmx.net>.
Hi,

I want to implement an authentication for my website based on sling. 
There is a bundle org.apache.sling.auth.form that provides an 
implementation. Can anybody give me an example how to use this (Login 
and Logout)?

Thanks

Christian

**************************************
Christian Eugster
Grissian 14
I-39010 Tisens
0039 0473 420 873
0041 79 594 85 45
christian.eugster@gmx.net

Re: OCM

Posted by Bertrand Delacretaz <bd...@apache.org>.
On Wed, Apr 24, 2013 at 10:25 AM, Bertrand Delacretaz
<bd...@apache.org> wrote:
> ...I don't think anyone in the current Sling time is
> interested in that...

I meant "team" of course ;-)

-Bertrand

Re: OCM

Posted by Bertrand Delacretaz <bd...@apache.org>.
Hi,

On Wed, Apr 24, 2013 at 7:22 AM, Christian Eugster
<ch...@gmx.net> wrote:
> ...is there an actual description how to use ocm in sling? I've found a page
> marked as outdated with little information....

The reason is that we don't recommend using it in general - see [1]
for previous discussions.

If someone's willing to maintain and improve it that's possible of
course, but I don't think anyone in the current Sling time is
interested in that.

-Bertrand

[1] http://markmail.org/message/wmqggzrxwxearmyh