You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Carsten Ziegeler (JIRA)" <ji...@apache.org> on 2010/02/10 15:57:27 UTC

[jira] Created: (SLING-1366) NamespaceMapper is never called

NamespaceMapper is never called
-------------------------------

                 Key: SLING-1366
                 URL: https://issues.apache.org/jira/browse/SLING-1366
             Project: Sling
          Issue Type: Bug
          Components: JCR
    Affects Versions: JCR Base 2.0.4
            Reporter: Carsten Ziegeler
             Fix For: JCR Base 2.1.0


It seems that the NamespaceMapper is never called - therefore the support for the bundle header "Sling-Namespaces" is not working anymore

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (SLING-1366) NamespaceMapper is never called

Posted by "Carsten Ziegeler (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SLING-1366?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Carsten Ziegeler closed SLING-1366.
-----------------------------------


> NamespaceMapper is never called
> -------------------------------
>
>                 Key: SLING-1366
>                 URL: https://issues.apache.org/jira/browse/SLING-1366
>             Project: Sling
>          Issue Type: Bug
>          Components: JCR
>    Affects Versions: JCR Base 2.0.4
>            Reporter: Carsten Ziegeler
>            Assignee: Carsten Ziegeler
>             Fix For: JCR Base 2.0.6
>
>
> It seems that the NamespaceMapper is never called - therefore the support for the bundle header "Sling-Namespaces" is not working anymore

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (SLING-1366) NamespaceMapper is never called

Posted by "Carsten Ziegeler (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SLING-1366?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12832021#action_12832021 ] 

Carsten Ziegeler commented on SLING-1366:
-----------------------------------------

If readded the call to the namespace mapper in revision 908531.

The only part missing is if impersonate is called on a session; I guess we have to wrap the session here

> NamespaceMapper is never called
> -------------------------------
>
>                 Key: SLING-1366
>                 URL: https://issues.apache.org/jira/browse/SLING-1366
>             Project: Sling
>          Issue Type: Bug
>          Components: JCR
>    Affects Versions: JCR Base 2.0.4
>            Reporter: Carsten Ziegeler
>            Assignee: Carsten Ziegeler
>             Fix For: JCR Base 2.1.0
>
>
> It seems that the NamespaceMapper is never called - therefore the support for the bundle header "Sling-Namespaces" is not working anymore

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (SLING-1366) NamespaceMapper is never called

Posted by "Carsten Ziegeler (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SLING-1366?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Carsten Ziegeler resolved SLING-1366.
-------------------------------------

    Resolution: Fixed

Fixed in revision 909501

> NamespaceMapper is never called
> -------------------------------
>
>                 Key: SLING-1366
>                 URL: https://issues.apache.org/jira/browse/SLING-1366
>             Project: Sling
>          Issue Type: Bug
>          Components: JCR
>    Affects Versions: JCR Base 2.0.4
>            Reporter: Carsten Ziegeler
>            Assignee: Carsten Ziegeler
>             Fix For: JCR Base 2.0.6
>
>
> It seems that the NamespaceMapper is never called - therefore the support for the bundle header "Sling-Namespaces" is not working anymore

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (SLING-1366) NamespaceMapper is never called

Posted by "Justin Edelson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SLING-1366?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12833075#action_12833075 ] 

Justin Edelson commented on SLING-1366:
---------------------------------------

tests for this added in r909504

> NamespaceMapper is never called
> -------------------------------
>
>                 Key: SLING-1366
>                 URL: https://issues.apache.org/jira/browse/SLING-1366
>             Project: Sling
>          Issue Type: Bug
>          Components: JCR
>    Affects Versions: JCR Base 2.0.4
>            Reporter: Carsten Ziegeler
>            Assignee: Carsten Ziegeler
>             Fix For: JCR Base 2.0.6
>
>
> It seems that the NamespaceMapper is never called - therefore the support for the bundle header "Sling-Namespaces" is not working anymore

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (SLING-1366) NamespaceMapper is never called

Posted by "Carsten Ziegeler (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SLING-1366?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12832476#action_12832476 ] 

Carsten Ziegeler commented on SLING-1366:
-----------------------------------------

Added a dynamic proxy in revision 908956 to handle the session impersonate call.

> NamespaceMapper is never called
> -------------------------------
>
>                 Key: SLING-1366
>                 URL: https://issues.apache.org/jira/browse/SLING-1366
>             Project: Sling
>          Issue Type: Bug
>          Components: JCR
>    Affects Versions: JCR Base 2.0.4
>            Reporter: Carsten Ziegeler
>            Assignee: Carsten Ziegeler
>             Fix For: JCR Base 2.1.0
>
>
> It seems that the NamespaceMapper is never called - therefore the support for the bundle header "Sling-Namespaces" is not working anymore

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (SLING-1366) NamespaceMapper is never called

Posted by "Carsten Ziegeler (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SLING-1366?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Carsten Ziegeler reassigned SLING-1366:
---------------------------------------

    Assignee: Carsten Ziegeler

> NamespaceMapper is never called
> -------------------------------
>
>                 Key: SLING-1366
>                 URL: https://issues.apache.org/jira/browse/SLING-1366
>             Project: Sling
>          Issue Type: Bug
>          Components: JCR
>    Affects Versions: JCR Base 2.0.4
>            Reporter: Carsten Ziegeler
>            Assignee: Carsten Ziegeler
>             Fix For: JCR Base 2.1.0
>
>
> It seems that the NamespaceMapper is never called - therefore the support for the bundle header "Sling-Namespaces" is not working anymore

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (SLING-1366) NamespaceMapper is never called

Posted by "Ian Boston (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SLING-1366?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ian Boston resolved SLING-1366.
-------------------------------

    Resolution: Fixed

Believed to be fixed in the 2.0.6 release, after the ACE tests were fixed by r909432

> NamespaceMapper is never called
> -------------------------------
>
>                 Key: SLING-1366
>                 URL: https://issues.apache.org/jira/browse/SLING-1366
>             Project: Sling
>          Issue Type: Bug
>          Components: JCR
>    Affects Versions: JCR Base 2.0.4
>            Reporter: Carsten Ziegeler
>            Assignee: Carsten Ziegeler
>             Fix For: JCR Base 2.0.6
>
>
> It seems that the NamespaceMapper is never called - therefore the support for the bundle header "Sling-Namespaces" is not working anymore

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (SLING-1366) NamespaceMapper is never called

Posted by "Carsten Ziegeler (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SLING-1366?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12832017#action_12832017 ] 

Carsten Ziegeler commented on SLING-1366:
-----------------------------------------

This code has formerly been in the pool manager.

> NamespaceMapper is never called
> -------------------------------
>
>                 Key: SLING-1366
>                 URL: https://issues.apache.org/jira/browse/SLING-1366
>             Project: Sling
>          Issue Type: Bug
>          Components: JCR
>    Affects Versions: JCR Base 2.0.4
>            Reporter: Carsten Ziegeler
>             Fix For: JCR Base 2.1.0
>
>
> It seems that the NamespaceMapper is never called - therefore the support for the bundle header "Sling-Namespaces" is not working anymore

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (SLING-1366) NamespaceMapper is never called

Posted by "Justin Edelson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SLING-1366?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12832363#action_12832363 ] 

Justin Edelson commented on SLING-1366:
---------------------------------------

interestingly, it appears that namespaces registered with Sling-Namespaces work with impersonation but thsoe registered via the ServiceTracker I added don't.

> NamespaceMapper is never called
> -------------------------------
>
>                 Key: SLING-1366
>                 URL: https://issues.apache.org/jira/browse/SLING-1366
>             Project: Sling
>          Issue Type: Bug
>          Components: JCR
>    Affects Versions: JCR Base 2.0.4
>            Reporter: Carsten Ziegeler
>            Assignee: Carsten Ziegeler
>             Fix For: JCR Base 2.1.0
>
>
> It seems that the NamespaceMapper is never called - therefore the support for the bundle header "Sling-Namespaces" is not working anymore

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Reopened: (SLING-1366) NamespaceMapper is never called

Posted by "Ian Boston (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SLING-1366?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ian Boston reopened SLING-1366:
-------------------------------


curl -u admin:admin http://localhost:8888/index.html?sudo=anonymous

giving

12.02.2010 16:42:51.123 *WARN* [2854682@qtp-24914065-10] org.mortbay.jetty EXCEPTION  java.lang.ClassCastException: org.apache.sling.jcr.base.SessionProxyHandler$SessionProxy cannot be cast to javax.jcr.Session
	at $Proxy4.impersonate(Unknown Source)
	at org.apache.sling.commons.auth.impl.SlingAuthenticator.handleImpersonation(SlingAuthenticator.java:877)
	at org.apache.sling.commons.auth.impl.SlingAuthenticator.getSession(SlingAuthenticator.java:545)
	at org.apache.sling.commons.auth.impl.SlingAuthenticator.handleSecurity(SlingAuthenticator.java:358)
	at org.apache.sling.engine.impl.SlingMainServlet.handleSecurity(SlingMainServlet.java:859)

> NamespaceMapper is never called
> -------------------------------
>
>                 Key: SLING-1366
>                 URL: https://issues.apache.org/jira/browse/SLING-1366
>             Project: Sling
>          Issue Type: Bug
>          Components: JCR
>    Affects Versions: JCR Base 2.0.4
>            Reporter: Carsten Ziegeler
>            Assignee: Carsten Ziegeler
>             Fix For: JCR Base 2.0.6
>
>
> It seems that the NamespaceMapper is never called - therefore the support for the bundle header "Sling-Namespaces" is not working anymore

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.