[JBoss jBPM] - jBPM/Security & Integration with JBoss Seam
by jayzaw
Hi,
we intend to use brokered authentication in a multi-layer architecture (Web/BPM/Services/Persistence).
Brokered authentication manifests itself in all layers - no layer trust another, but any layer may validate the security token passed with the calls from one layer to the other.
Typical scenario: User logs in, receives security token, calls services (with token), calls jBPM, which in turn calls services with token.
Questions:
a) is there support for brokered authentication in Seam ?
b) is there support for transparent brokered authentication in jBPM ? Recall that jBPM would have to validate the sec token from the Web layer, and then subsequently transfer this token when it makes calls to the services layer with that token - security at the jBPM level is in fact the part that gives me the most headaches
c) our services are for now implemented as stateless session EJBs, but should be easily migratable to web services later. For this, we implement "generic" calls to services. They include a request, a security token, and other contextual information if necessary. The implementation of the generic service call is for now designed for EJBs. It will however later maybe alter to support webservices, and use web services security. Whatever the scenario, the 3 objects passed (the request, the security token, and contextual information) is enough I guess.
What's the best way to making those components play together ?
Kind regards,
Jay
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4100124#4100124
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4100124
18Â years, 5Â months
[JBoss Seam] - Simple examples needed
by mortena
I need to do the following:
Create a form, where I can edit the Credentials of a User and the user.
User.java has properties:
| String firstName,
| String surName
| Credential credential
|
| Credential.java has properties:
|
| | username,
| | password.
| |
|
| Now I'm creating a form where I can edit the firstName and surName of the user and the users credentials.
|
| How can I create an input field where i can edit the credentials of the user?
|
| I've tried:
|
| <h:inputText required="true"
| value="#{userHome.instance.credential.username}"/>
|
| But it gives an error saying that the credentials are null:
|
| Target Unreachable, 'credential' returned null on 'com.tmn.smile.model.User'".
|
| Any hints on where I can find simple examples showing how these things should be done?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4100119#4100119
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4100119
18Â years, 5Â months