[JBoss Seam] - Re: Seam Security
by Smurfs
I've had no problems implementing the latest authentication/authorisation security features thanks to the contributors to this thread :)
I now need to roll my own implementation of org.jboss.seam.security.Identity to include a third log-in form attribute called 'organisation'. This identifies the user as a member of a particular organisation, fulfilling one or more roles. I need to use this approach as the user could also be a member of one or more organisations with a totally different set of roles/permissions for each.
I have extended the Identity class to implement the additional attribute, however I am stuck when it comes to annotating MyIdentity class in such a way that Seam 'knows' this is the identity type to use. I have injected MyIdentity into the Authenticator implementation but get the following exception which indicates Seam is still looking at its' own version:
javax.faces.el.PropertyNotFoundException: /login.xhtml @45,84 value="#{identity.organisation}": Bean: org.jboss.seam.security.Identity, property: organisation
Can anyone point me in the right direction please?
Thanks Andrew
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4017539#4017539
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4017539
19Â years, 2Â months
[JBoss jBPM] - jBPM GPD 3.1.0.alpha2: outline view
by avbentem
Is it expected behavior that the Outline View no longer has any right-click menu items?
I noticed that in <process-definition> the value for attribute xmlns is empty, but setting it to xmlns="urn:jbpm.org:jpdl-3.1" does not help either.
Some details, if only for the sake of Google:
Using GPD 3.1.0.alpha2 in Eclipse 3.2.1 it took me a long time to find a way to show or edit any properties. Like double-clicking a node does not give me anything. Right-click menu's in the editor or in the Outline View do not show options such as "Add task".
However, the Properties tab (Window, Show View, Other, General, Properties -- if not visible) shows all one need...
Of course:
"Release notes" wrote :
| Use of the Tabbed Properties view: This view can now be used to edit the properties of the supported JPDL elements.
|
...but does this imply that the outline view no longer operates like in previous releases?
- Unzipped Eclipse 3.2.1 M20060921-0945
- Unzipped jbpm-jpdl-designer-3.1.0.alpha2.zip
- New, Project, JBoss jBPM, Process Project
- New, Other, JBoss jBPM, Process Definition
- The GPD shows (though the Swimlanes tab is not present)
- Add some node
- Right click any node in the Outline view: no GPD menus
Arjan.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4017536#4017536
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4017536
19Â years, 2Â months
[JBoss Portal] - Re: org.jboss.portal.portlet.impl.jsr168.PortletContextImpl
by thomas.heuteï¼ jboss.com
Check the questions on the forums, you will see that many if not most of them get answers. I feel personally offended that you say we don't care, since i put lot of energy into it.
Even more since i already answered a similar question to you in this thread http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3999983
You ended up saying:
"You're probably kidding when you're saying that I should propose a patch."
To that i answered:
"Since when open source is only about taking ?"
You also got an answer here:
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3991717 You were thankful that day.
It's unfortunate that you are not even trying the professional paid support before leaving OpenSource (you never really entered the OpenSource anyway). But that's your money and i'm glad to learn that you will have no problem with tomahawk components in Weblogic... You should read about issues of some Tomahawk components in a portlet environment before you set your expectations too high.
As a rule we don't recommend tomahawk to our customers and i told you this before.
In that old world of non-opensource, you may miss MyFaces and Beehive among other things that you use.
Anyway, for your question you say:
anonymous wrote :
| n JBoss Portal 2.4.0 I'm trying to use the org.apache.portals.bridges.jsf.FacesPortlet portlet bridge, hoping to get MyFaces sandbox running, since they dont run with MyGenericPortlet, raising ClassCastExceptions.
|
I translate into, it's not working.
But now I get an Unsupported type exception on org.jboss.portal.portlet.impl.jsr168.PortletContextImpl. Does anybody know why ?
I translate into, it's not working, but *now* differently. I tried to read in my crystal ball but it was blurry, i couldn't find what you changed between the 2
Basically, if you are not even willing to spend time explaining your problem, why would i try answering you ?
anonymous wrote :
| Or did anybody manage to get running Tomahawk sandbox controls like inputSuggestAjax or PPRPanelGroup ?
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4017533#4017533
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4017533
19Â years, 2Â months
[JBoss Seam] - Re: Running the booking example on JBoss with the JSF 1.2 RI
by h0ppy
Hi its not a compilation issue, the project builds fine. I think I'm going to have to give up and use the Sun Application Server 9 for development.
A couple of other questions, in the instuctions above, step 3, it asks you to replace "myfaces-api.jar" with "jsf-api.jar", but myfaces-api.jar is not in the web.xml, myfaces-impl.jar is. Did you replace this with jsf-impl.jar?
Also, I'm using some of the components from JSCreator (the project is actually being built using the Visual Web Pack for Netbeans) and after re-trying this procedure from scratch I now get this error:
WARNING: JSF1004: Cannot instantiate component of type com.sun.webui.jsf.faces.ValueBindingFilterCriteria
10:20:39,390 ERROR [[/Regal]] com.sun.webui.jsf.faces.ValueBindingFilterCriteria
javax.faces.FacesException: java.lang.ClassCastException: com.sun.webui.jsf.faces.ValueBindingFilterCriteria
Which suggests that I can't use the JS Creator components...
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4017529#4017529
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4017529
19Â years, 2Â months