Hi,
Yeah, It's a bug, and SMX4NMR-291[1] should fix it.
[1]https://issues.apache.org/jira/browse/SMX4NMR-291
Freeman
On 2011-10-4, at 下午8:57, Radomir Kadlec wrote:
Hallo,
how can I use the
*org.apache.servicemix.nmr.api.security.AuthorizationEntry* with
specific
*endpoint name*?
When I use anything else than *"*"*, no endpoints match.
I debugged in
org
.apache.servicemix.nmr.core.security.DefaultAuthorizationService.match
and realized, that there are compared endpoint name from the
AuthorizationEntry with the endpoint id. Therefore no matching
endpoints are
found.
The id comes from FlowRegistryImpl.dispatch, where
authorizationService.getAcls(endpoint.getId(),
exchange.getOperation())
is called.
Is it a bug in Servicemix?
Or can I enter endpoint id in the configuration file for
AuthorizationEntry?
I suppose not - the id is not known at this point.
Thank you
Radomir
--
View this message in context:
http://servicemix.396122.n5.nabble.com/AuthorizationEntry-with-specific-endpoint-name-tp4868415p4868415.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.
---------------------------------------------
Freeman Fang
FuseSource
Email:[email protected]
Web: fusesource.com
Twitter: freemanfang
Blog: http://freemanfang.blogspot.com
http://blog.sina.com.cn/u/1473905042
weibo: http://weibo.com/u/1473905042