List Info

Thread: Neutron-Auth




Neutron-Auth
country flaguser name
Switzerland
2007-08-21 09:59:29
Hi

IIRC Jann or Thomas said that they have implemented
Neutron-Auth for 
Lenya 1.2.x, whereas I am not sure if I might have
misunderstood.

When trying to edit

http://
127.0.0.1:8888/default/live/index.html

with Yulup without being logged in previously to the
authoring area, 
then I do not receive a login dialog from Firefox.

Did I misunderstand something?

Re the introspection itself I have noticed that both menu
items are 
being active

Open
Checkout

Does that make sense? Shouldn't it be rather only Checkout?

Neutron does provide the ability to specify "release
the lock"

http://neutron.wyona.org/amendments/release-
lock-without-saving.html

and Yulup has implement it. Maybe we can implement this.

Cheers

Michael

-- 
Michael Wechner
Wyona      -   Open Source Content Management - Yanel,
Yulup
http://www.wyona.com
michael.wechnerwyona.com, michiapache.org
+41 44 272 91 61


------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribelenya.apache.org
For additional commands, e-mail: dev-helplenya.apache.org


Re: Neutron-Auth
country flaguser name
Switzerland
2007-08-22 03:03:16
Michael Wechner wrote:
> Hi
> 
> IIRC Jann or Thomas said that they have implemented
Neutron-Auth for
> Lenya 1.2.x, whereas I am not sure if I might have
misunderstood.
>
I did not implement Neutron-Auth. Maybe Thomas did.

[ ... ]

Jann



------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribelenya.apache.org
For additional commands, e-mail: dev-helplenya.apache.org


Re: Neutron-Auth
country flaguser name
Switzerland
2007-08-22 03:07:41
On Aug 22, 2007, at 10:03 AM, Jann Forrer wrote:

> Michael Wechner wrote:
>> Hi
>>
>> IIRC Jann or Thomas said that they have implemented
Neutron-Auth for
>> Lenya 1.2.x, whereas I am not sure if I might have
misunderstood.
>>
> I did not implement Neutron-Auth. Maybe Thomas did.
>
> [ ... ]
>

I did. Check the source.

Thomas



------------------------------------------------------------
------------ 
-----
                         Thomas Comiotto              
thomas.comiottoid.uzh.ch

                         Universitaet Zuerich
                         Informatikdienste               
Tel: +41 44  
63 54541
                         Winterthurerstrasse 190            
  +41 44  
63 43333
                         CH-8057 Zuerich                 
Fax: +41 44  
63 54505





------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribelenya.apache.org
For additional commands, e-mail: dev-helplenya.apache.org


Re: Neutron-Auth
country flaguser name
Switzerland
2007-08-22 03:17:30
Thomas Comiotto wrote:

>
> On Aug 22, 2007, at 10:03 AM, Jann Forrer wrote:
>
>> Michael Wechner wrote:
>>
>>> Hi
>>>
>>> IIRC Jann or Thomas said that they have
implemented Neutron-Auth for
>>> Lenya 1.2.x, whereas I am not sure if I might
have misunderstood.
>>>
>> I did not implement Neutron-Auth. Maybe Thomas
did.
>>
>> [ ... ]
>>
>
> I did. Check the source.


can you give me a more concrete pointer ?

Does it work for you?

Cheers

Michael

>
> Thomas
>
>
>
>
------------------------------------------------------------
------------ 
> -----
>                         Thomas Comiotto              
> thomas.comiottoid.uzh.ch
>
>                         Universitaet Zuerich
>                         Informatikdienste              
 Tel: +41 44  
> 63 54541
>                         Winterthurerstrasse 190        
      +41 44  
> 63 43333
>                         CH-8057 Zuerich                
 Fax: +41 44  
> 63 54505
>
>
>
>
>
>
------------------------------------------------------------
---------
> To unsubscribe, e-mail: dev-unsubscribelenya.apache.org
> For additional commands, e-mail: dev-helplenya.apache.org
>


-- 
Michael Wechner
Wyona      -   Open Source Content Management - Yanel,
Yulup
http://www.wyona.com
michael.wechnerwyona.com, michiapache.org
+41 44 272 91 61


------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribelenya.apache.org
For additional commands, e-mail: dev-helplenya.apache.org


Re: Neutron-Auth
country flaguser name
Switzerland
2007-08-22 03:29:01
>
> can you give me a more concrete pointer ?
>


sitemap.xmap says:


<!-- Neutron Authentication -->
         <map:match type="usecase"
pattern="neutron">
           <map:match type="step"
pattern="authenticate">
             <map:mount uri-prefix=""
src="lenya/usecases/neutron/ 
usecase-neutron.xmap" check-reload="true"
reload-method="synchron"/>
           </map:match>
           <map:generate type="jx"
src="lenya/usecases/neutron/jx/ 
exception-auth.jx">
             <map:parameter name="base-url"
value="http:// 
{request:serverName}:{request:serverPort}{request:requestURI
}"/>
           </map:generate>
           <map:serialize type="xml"
status-code="401"/>
         </map:match>
         <!-- End Neutron Authentication -->
         <map:redirect-to uri="{request:requestURI}?

lenya.usecase=login&amp;lenya.step=showscreen"
session="true"/>
       </map:match>





> Does it work for you?
>

It did at checkin time but we don't use it so i dunno for
sure.

Cheers
Thomas



------------------------------------------------------------
------------ 
-----
                         Thomas Comiotto              
thomas.comiottoid.uzh.ch

                         Universitaet Zuerich
                         Informatikdienste               
Tel: +41 44  
63 54541
                         Winterthurerstrasse 190            
  +41 44  
63 43333
                         CH-8057 Zuerich                 
Fax: +41 44  
63 54505





------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribelenya.apache.org
For additional commands, e-mail: dev-helplenya.apache.org


Re: Neutron-Auth
country flaguser name
Switzerland
2007-08-22 03:41:22
Thomas Comiotto wrote:

>>
>> can you give me a more concrete pointer ?
>>
>
>
> sitemap.xmap says:
>
>
> <!-- Neutron Authentication -->
>         <map:match type="usecase"
pattern="neutron">
>           <map:match type="step"
pattern="authenticate">
>             <map:mount uri-prefix=""
src="lenya/usecases/neutron/ 
> usecase-neutron.xmap"
check-reload="true"
reload-method="synchron"/>
>           </map:match>
>           <map:generate type="jx"
src="lenya/usecases/neutron/jx/ 
> exception-auth.jx">
>             <map:parameter name="base-url"
value="http:// 
>
{request:serverName}:{request:serverPort}{request:requestURI
}"/>
>           </map:generate>
>           <map:serialize type="xml"
status-code="401"/>
>         </map:match>
>         <!-- End Neutron Authentication -->
>         <map:redirect-to
uri="{request:requestURI}? 
> lenya.usecase=login&amp;lenya.step=showscreen"
session="true"/>
>       </map:match>
>
>

thanks

>
>
>
>> Does it work for you?
>>
>
> It did at checkin time but we don't use it so i dunno
for sure.


ok, will take a closer look at it.

Cheers

Michael

>
> Cheers
> Thomas
>
>
>
>
------------------------------------------------------------
------------ 
> -----
>                         Thomas Comiotto              
> thomas.comiottoid.uzh.ch
>
>                         Universitaet Zuerich
>                         Informatikdienste              
 Tel: +41 44  
> 63 54541
>                         Winterthurerstrasse 190        
      +41 44  
> 63 43333
>                         CH-8057 Zuerich                
 Fax: +41 44  
> 63 54505
>
>
>
>
>
>
------------------------------------------------------------
---------
> To unsubscribe, e-mail: dev-unsubscribelenya.apache.org
> For additional commands, e-mail: dev-helplenya.apache.org
>


-- 
Michael Wechner
Wyona      -   Open Source Content Management - Yanel,
Yulup
http://www.wyona.com
michael.wechnerwyona.com, michiapache.org
+41 44 272 91 61


------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribelenya.apache.org
For additional commands, e-mail: dev-helplenya.apache.org


Re: Neutron-Auth
country flaguser name
Switzerland
2007-08-28 09:35:58
Thomas Comiotto schrieb:

> 
>> Does it work for you?
>>
> 
> It did at checkin time but we don't use it so i dunno
for sure.

for me it does not work.

simon
> 
> Cheers
> Thomas
> 
> 
> 
>
------------------------------------------------------------
----------------- 
> 
>                         Thomas Comiotto             
> thomas.comiottoid.uzh.ch
> 
>                         Universitaet Zuerich
>                         Informatikdienste              
 Tel: +41 44 63 
> 54541
>                         Winterthurerstrasse 190        
      +41 44 63 
> 43333
>                         CH-8057 Zuerich                
 Fax: +41 44 63 
> 54505
> 
> 
> 
> 
> 
>
------------------------------------------------------------
---------
> To unsubscribe, e-mail: dev-unsubscribelenya.apache.org
> For additional commands, e-mail: dev-helplenya.apache.org
> 


-- 
Simon Litwan                               simon.litwanwyona.com
Wyona Inc.  -   Open Source Content Management   -   Apache
Lenya
http://www.wyona.com     
                http://lenya.apache.org

------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribelenya.apache.org
For additional commands, e-mail: dev-helplenya.apache.org


Re: Neutron-Auth
country flaguser name
Switzerland
2007-08-28 09:44:09
simon litwan schrieb:
> Thomas Comiotto schrieb:
> 
>>
>>> Does it work for you?
>>>
>>
>> It did at checkin time but we don't use it so i
dunno for sure.
> 
> for me it does not work.
i get
could not open
http://localhos
t:8080/lenya/default/live/index.html?lenya.usecase=neutron&a
mp;lenya.step=checkout
and if i have a look at it i get:

getCheckOutUsername is not a function.

org.apache.avalon.framework.CascadingRuntimeException: 
getCheckOutUsername is not a function.

cause: TypeError: getCheckOutUsername is not a function. 
(file:/opt/jakarta-tomcat-5.5.7/webapps/lenya/lenya/usecases
/neutron/neutron.js; 
line 105)

maybe someone has a hint?

simon
> 
> simon
>>
>> Cheers
>> Thomas
>>
>>
>>
>>
------------------------------------------------------------
----------------- 
>>
>>                         Thomas Comiotto            

>> thomas.comiottoid.uzh.ch
>>
>>                         Universitaet Zuerich
>>                         Informatikdienste          
     Tel: +41 44 
>> 63 54541
>>                         Winterthurerstrasse 190    
          +41 44 
>> 63 43333
>>                         CH-8057 Zuerich            
     Fax: +41 44 
>> 63 54505
>>
>>
>>
>>
>>
>>
------------------------------------------------------------
---------
>> To unsubscribe, e-mail: dev-unsubscribelenya.apache.org
>> For additional commands, e-mail: dev-helplenya.apache.org
>>
> 
> 


-- 
Simon Litwan                               simon.litwanwyona.com
Wyona Inc.  -   Open Source Content Management   -   Apache
Lenya
http://www.wyona.com     
                http://lenya.apache.org

------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribelenya.apache.org
For additional commands, e-mail: dev-helplenya.apache.org


Re: Neutron-Auth
country flaguser name
Switzerland
2007-09-10 02:44:40
Michael Wechner wrote:
> Hi
> 
> IIRC Jann or Thomas said that they have implemented
Neutron-Auth for 
> Lenya 1.2.x, whereas I am not sure if I might have
misunderstood.
> 
> When trying to edit
> 
> http://
127.0.0.1:8888/default/live/index.html
> 
> with Yulup without being logged in previously to the
authoring area, 
> then I do not receive a login dialog from Firefox.
> 

The problem was that the 401 response from the server did
not contain 
the correct WWW-Authenticate header. This should be fixed
now (r574158), 
and it's working for me with the newest yulup dev version
(r27210).

josias

> Did I misunderstand something?
> 
> Re the introspection itself I have noticed that both
menu items are 
> being active
> 
> Open
> Checkout
> 
> Does that make sense? Shouldn't it be rather only
Checkout?
> 
> Neutron does provide the ability to specify
"release the lock"
> 
> http://neutron.wyona.org/amendments/release-
lock-without-saving.html
> 
> and Yulup has implement it. Maybe we can implement
this.
> 
> Cheers
> 
> Michael
> 


------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribelenya.apache.org
For additional commands, e-mail: dev-helplenya.apache.org


Re: Neutron-Auth
country flaguser name
Switzerland
2007-09-10 08:32:47
Josias Thöny wrote:

> Michael Wechner wrote:
>
>> Hi
>>
>> IIRC Jann or Thomas said that they have implemented
Neutron-Auth for 
>> Lenya 1.2.x, whereas I am not sure if I might have
misunderstood.
>>
>> When trying to edit
>>
>> http://
127.0.0.1:8888/default/live/index.html
>>
>> with Yulup without being logged in previously to
the authoring area, 
>> then I do not receive a login dialog from Firefox.
>>
>
> The problem was that the 401 response from the server
did not contain 
> the correct WWW-Authenticate header. This should be
fixed now 
> (r574158), and it's working for me with the newest
yulup dev version 
> (r27210).


great 
thanks very much for fixing this.

Michael

>
> josias
>
>> Did I misunderstand something?
>>
>> Re the introspection itself I have noticed that
both menu items are 
>> being active
>>
>> Open
>> Checkout
>>
>> Does that make sense? Shouldn't it be rather only
Checkout?
>>
>> Neutron does provide the ability to specify
"release the lock"
>>
>> http://neutron.wyona.org/amendments/release-
lock-without-saving.html
>>
>> and Yulup has implement it. Maybe we can implement
this.
>>
>> Cheers
>>
>> Michael
>>
>
>
>
------------------------------------------------------------
---------
> To unsubscribe, e-mail: dev-unsubscribelenya.apache.org
> For additional commands, e-mail: dev-helplenya.apache.org
>


-- 
Michael Wechner
Wyona      -   Open Source Content Management - Yanel,
Yulup
http://www.wyona.com
michael.wechnerwyona.com, michiapache.org
+41 44 272 91 61


------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribelenya.apache.org
For additional commands, e-mail: dev-helplenya.apache.org


[1-10]

about | contact  Other archives ( Real Estate discussion Medical topics )