[Design of JBoss ESB] - Re: Http Gateway - requirements please...
by tfennelly
OK... so I think I eventually got it generating the security bits. Was a bit of pita :)
It looks slightly different from above, but amounts to the same thing.
So the http-provider definition (inside the jboss-esb.xml) is now looking like....
| <http-provider name="http">
| <http-bus busid="ordermgt" />
|
| <http-bus busid="sales">
| <allowed-roles>
| <role name="friend" />
| </allowed-roles>
| <protected-methods>
| <method name="GET" />
| </protected-methods>
| </http-bus>
|
| <auth method="BASIC" domain="java:/jaas/AcmeSecProvider" />
| </http-provider>
|
How the roles and methods are currently working can be summed up as follows...
| Methods Specified | Roles Specified | Login Required
| ----------------------------------------------------------------------------
| No | No | No
| No | Yes | For All Methods
| Yes | Yes | For Specified Methods
| Yes | No | No - Specified Methods blocked to all
|
I think this is right, yeah?
Note how the security domain can be configured on the auth element.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4248109#4248109
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4248109
16 years, 8 months
[Design of JBoss jBPM] - Re: [BPMN2] How to implement uncontrolled sequence flow beha
by kukeltje
"tom.baeyens(a)jboss.com" wrote : (ps you already might have noticed that in our own implementations, it is best to use the impl classes and not the interfaces)
I have recently and it is becoming a problem. The PVM is created with jPDL as a reference/base. BPMN is a little different in some cases. I've implemented several workarounds now but that does not feel good. An example:
While parsing the transitions and adding them to the activities, I'd like to set the defaultOutGoingTransition on the activity. I cannot do that, since the findActivity in the CompositeElementImpl returns an ActivityImpl but I need the ExclusiveGateway since that is the only one that has the getDefault() on it (which outgoing transition is the default is on the exclusive gateway, not the transition).
If this was possible the parsing of the outgoing transitions would be cleaner as it currently is.
Any chance that this can be changed? Or otherwise please enlighten me why this is not an option.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4247990#4247990
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4247990
16 years, 8 months