[ 
https://issues.apache.org/activemq/browse/SM-1897?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=54668#action_54668
 ] 

Jean-Baptiste Onofré commented on SM-1897:
------------------------------------------

I'm not sure that your issue is really a bug.

Regarding the AuthorizationEntry, the service is a QName. So If you provide a 
string compatible with the service ServiceMix URIs (as explained 
http://servicemix.apache.org/uris.html), it should work.

I have tried to reproduce your issue without success (or providing not correct 
URIs).

For now? I close this bug, but if you have a stack trace or a specific test 
case, feel free to reopen it.

> authorizationEntry service namespace can't be a urn
> ---------------------------------------------------
>
>                 Key: SM-1897
>                 URL: https://issues.apache.org/activemq/browse/SM-1897
>             Project: ServiceMix
>          Issue Type: Bug
>    Affects Versions: 3.3.1
>         Environment: Windows XP Pro.
> Java 1.6.0_12
>            Reporter: Trudi Ersvaer
>
> In security.xml the authorizationEntry's service attribute seems not to cope 
> with a urn namespace.
> For example, I've replaced the existing authorization entry (in security.xml) 
> with a new one:
> service="{urn:/addsource.wsdl}:addsourceService" roles="superuser"
> The problem with this is that I get a PatternSyntaxException because the 
> service name is translated into (I can see this in the debugger):
> {{urn}/addsource.wsdl}:addsourceService  
> When I removed the braces from the service name in security.xml for example: 
> service="urn:/addsource.wsdl:addsourceService" roles="superuser"
> the service still doesn't match because the service name is transated into 
> (again viewed in the debugger): 
> {urn}/addsource.wsdl:addsourceService
> If I change all my namespaces to:
> xxx
> and in security.xml changed the service name to:
> xxx:addsourceService
> finally the service matched and authZ works.
>  
> Any ideas why the authorizationEntry isn't coping with a urn namespace?

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

Reply via email to