[jboss-user] [JBoss Seam] - Re: Invitation to try new Seam authentication features
vladimir.kovalyuk wrote : | But it requires some effort for working out an approach of returning the user to the requested page after he successfully logged in. | Is it planned for seamspace example? | This feature unfortunately won't be in the initial release. It's quite a tricky thing to implement, because there's a number of scenarios that need to be dealt with. It's definitely planned though. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4003268#4003268 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4003268 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Advice on Security System
I can't tell what's causing the ClassCastException from that stack trace, however the DatabaseServerLoginModule login module that you're using is a JBoss AS-specific login module, and won't work as is with Seam security. The unfortunate truth is that each app server implements security differently, and even though they might all use JAAS, the specification isn't specific enough to ensure compatibility. I agree it would be nice to have some kind of layer/adapter that allowed at least the JBoss login modules to be used, however this won't be available in the initial security release. For the time being if you are authenticating against a database I recommend using SeamLoginModule, following the Seamspace example. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4003272#4003272 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4003272 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Advice on Security System
I made the same changes you did to Identity (and committed them to CVS) and the seamspace example still works fine for me. I'm not sure what to suggest, other than putting a breakpoint in Identity.getPrincipal() and checking which principals actually get asserted into the subject as a result of authentication. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4003331#4003331 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4003331 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Enhance o.j.s.s.c.SecurityConfiguration to allow additio
You can do it this way: | SecurityConfiguration.instance().getLoginModuleConfiguration().addEntry(custom, entry); | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4003469#4003469 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4003469 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Advice on Security System
mikepkp17 wrote : | Besides that I noticed that SimplePrincipal is not serializable and I got notserializableexceptions during my tests maybe since I am developing for a clustered environment, fyi That was an oversight on my part, it's now Serializable. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4003471#4003471 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4003471 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Advice on Security System
mikepkp17 wrote : How did you login the seamspace application? | | If I try with demo/demo I get this strange exception on profile.seam... | If I then go back to home.seam (reload home.seam) I am logged in with demo. | | If I login with duke/duke everything works | | fyi I just used demo/demo. Do you have all the latest code from CVS? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4003472#4003472 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4003472 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Displaying Picture from blob
The Seamspace example in CVS serves images from a servlet, and provides an image rescaling feature also. Take a look at ContentServlet.java, it's pretty straight forward - and it uses SeamServletFilter to set up the Seam contexts. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4003081#4003081 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4003081 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Advice on Security System
I've made a few changes in the security API to support this now. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4003093#4003093 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4003093 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Invitation to try new Seam authentication features
The information on the wiki page is redundant now. The new Seam security API is due to be released next week, or if you want to try it now you can check out the latest version from CVS. The documentation is still being written, but there is more than enough information there to get authentication set up. Plus you can look at the seamspace example to see how the security API is used. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4003145#4003145 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4003145 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam Security: authentication and authorization example
Actually the docs were wrong, I've fixed it now. Wildcards can only be used at the start of the url-pattern, e.g: | url-pattern*.seam/url-pattern | or at the end: | url-pattern/secure/*/url-pattern | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4002261#4002261 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4002261 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Remoting call runtime exception at remote.js
There's a JIRA issue for improving exception handling in Seam Remoting here http://jira.jboss.org/jira/browse/JBSEAM-633. Redirecting to a login page on an exception would an application's responsibility, however the remoting code would need to support this. I suggest you add a comment to the JIRA issue detailing your specific requirements. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3999714#3999714 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3999714 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Entity not persisting from within a Servlet Filter
I agree with Norman. I'd be inclined to put your business logic into a Seam component and then call that from your filter. SeamServletFilter is a good example of how to set up the Seam contexts for the request. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3999304#3999304 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3999304 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam Remoting problem
Can you post the code for RolePrivilegesAction? It looks like something is going wrong there. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3998637#3998637 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3998637 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Road Map
You'll be able to extend SecurityConfiguration to load roles/permissions from a database if you like, however keep in mind that these are only explicitly assigned permissions, as opposed to the dynamic rule-based permissions that the security API will also support. As for enums, the type safety would be nice however permissions can have any name (eg customer.doSpecialAction) so that unfortunately rules them out. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3996839#3996839 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3996839 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: paginating a datamodel
Take a look at the booking example, in particular HotelSearchingAction. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3996615#3996615 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3996615 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: 'Remember me' features
This functionality is typically implemented with a client-side cookie. I've got plans to include support for this, but not in the initial release of the Seam security API in a few weeks. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3995845#3995845 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3995845 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: SeamSecurityFilter
This filter is part of the new security API, which will be included in the Seam 1.1.5 GA release. It should be ok to use now, but it may change further before the release is complete. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3995151#3995151 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3995151 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam 1.1.5 SeamSecurity...
The security API provides page-level security - even though the component model is secure people still like to be able to secure their views for completeness. This is totally optional and if page/view security is not a concern there is no requirement to use it. On the last point, there is a security system for EJB3 however it is lacking in a number of areas. A rule-based security API will provide an innovative new solution to a problem that has been traditionally complex and difficult to implement a solution for. Integration points will exist for those who still wish to work with JAAS-based container security, however I'm of the opinion that very few situations will require this. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3994545#3994545 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3994545 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam 1.1.5 SeamSecurity...
sherkan777 wrote : I got another questionit is posible to run those SeamSecurity example? This example has been killed off - deleted from CVS. The SeamSpace example will replace it when the security API is released in Seam 1.1.5. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3994546#3994546 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3994546 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: A little confused about remoting and conversations
I'm glad you worked out the problem. In general, the conversation model should work exactly the same via the remoting API as it does for a normal JSF action. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3994547#3994547 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3994547 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam 1.1.5 SeamSecurity...
s:secure is gone, it's been replaced with EL expressions s:hasRole and s:hasPermission. Unfortunately you'll have to wait until 1.1.5 for the examples and docs, but it's only a few weeks away. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3994209#3994209 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3994209 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Security
david.alves wrote : | So How am I going to test for roles? And even if the isUserInRole component also tests for the seam security roles, will components of frameworks like icefaces that have the rendered and renderedOnUserRole like properties be compatible with the seam security roles? You'll be able to use EL to write stuff like: rendered=#{s:hasRole('admin')} or even more powerful: rendered=#{s:hasPermission('customer', 'modify', customer)} This last expression will perform a permission check against an actual customer instance. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3993617#3993617 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3993617 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Exception thrown on CVS.20061211 and CVS.20061212
It was my fault, it's fixed now. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3993221#3993221 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3993221 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Will X509 be included
It's planned, but not for the initial release of the security API. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3992927#3992927 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3992927 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: JavaScript Object Undefined in JMS ObjectMessage Topic C
You're right about getValue(), I'll update the documentation when I get a chance. As for the undefined Javascript error, are you importing the Game object in the page? Assuming the Seam component name is game: | script type=text/javascript src=seam/remoting/interface.js?game/ | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3992460#3992460 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3992460 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Security
There will be integration with JSF/JAAS security, but I can't promise that it will be in the first release. Do you have a specific requirement/reason for having to use JAAS? And Mike to (hopefully) answer your question, the security API will provide a way to check roles and permissions within your pages. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3992461#3992461 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3992461 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam remoting with overloaded methods
Javascript doesn't support overloading, so unfortunately you can't do this. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3991179#3991179 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3991179 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Security
The security API is undergoing some major changes, but as mentioned previously is due to be released in Seam 1.1.5GA. Gavin and I reviewed what we already had and came up with some innovative (at least I think so) new ideas, including using Drools to perform dynamic permission checks and support for more flexible expression-based security checks. I'm only able to proceed on this stuff in my spare time at the moment, but from December 20 I'll be working on it full time so there should be more to show shortly after this date. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3991180#3991180 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3991180 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam remoting not working
It looks like you're not getting any response packet sent back by the server. Is it producing a stack trace? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3990829#3990829 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3990829 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam remoting not working
Of course, default button behaviour is to submit the form. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3990843#3990843 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3990843 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Remoting
| function betsCallback(result) { | for (var i = 0; i result.length; i++){ | var xy = result[i ]; | } | } | xy will be an instance of Wette. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3990462#3990462 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3990462 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam remoting not working
Can you turn on debugging and see that the request and response packets are correct? Instructions here: http://docs.jboss.com/seam/1.1CR1/reference/en/html/remoting.html#d0e5505 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3989854#3989854 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3989854 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Possible bug in remoting with POJO backing bean w/ inter
It is a bug, fixed in CVS now. Thanks! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3986333#3986333 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3986333 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: seam-security example
There will be a component of the security API that handles page security, however it currently has low priority. In terms of what it will provide, most likely it will be simple role-based restriction to view-tier resources. There are plans to support X509 authentication, however it is quite a way off. There are currently no plans for special handling of http/https requests, I imagine that this kind of thing could be implemented by a servlet filter? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3986338#3986338 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3986338 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Injection and remoting
gllambi wrote : | I'm new to Remoting and Ajax, can you give me a good example when to use it? | It's hard to give a definitive answer, because I'm sure there's some usage scenarios that I haven't even thought of yet. In general, you should use it when your page can benefit from making a fine-grained API call against a Seam component, without needing to refresh your entire page. anonymous wrote : | So it's not posible to inject it with the @In annotation? | Not right now, however one of the things in my todo list (there's a feature request in JIRA for it) is to integrate the page context with remoting. Once this is done, you will be able to inject values from the page context into your component. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3985982#3985982 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3985982 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Injection and remoting
Injection should work just fine. Can you post a code sample? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3985125#3985125 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3985125 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: seam-security example
The security API is still under heavy construction and I've yet to write documentation for it. The @Secure annotation is used to secure access to a component or component method by specifying which roles or permissions are required to be able to invoke it. Within the security API there are two types of permissions; static and dynamic (those are the best descriptions I can come up with). Static permissions are intended to be allocated to roles at initialization time, and to answer your question about how to set up user/roles with permissions, this bit isn't implemented yet. Dynamic permissions are used when you need to make a decision based on some contextual information whether a permission should be granted or not. The checkPermission() call is necessary because it performs an explicit permissions check against the specified object using its ACL - something that you can't do with an annotation. This is the functionality I'm currently working on, and as a result the security example may break occasionally. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3985641#3985641 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3985641 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Injection and remoting
The login() method in your example is clearly intended to be invoked within a JSF context - it adds messages via FacesMessages and returns an action string. Remoting is not intended to be used to call action methods such as this. If however this is just an experiment to see how remoting works, and you're wondering why cliente isn't being injected from your form, it's because remoting calls need to explicitly specify any parameters that you require to be passed. I.e. your login method prototype would need to be: | public String login(Cliente client) | On the client side you would need to create a new Cliente object and populate it with the username and password, then pass this object as a parameter in your remote call. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3985648#3985648 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3985648 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: The value of seam cannot be acquired with JSF.
Besides a small section in the remoting chapter of the documentation, there's not really much else that can be said about debugging without getting overly verbose. In general, being able to see the xml request/response packets should go a long way toward solving any remoting issues. I can only suggest that having access to a good Javascript debugger is essential (I use Venkman, the Firefox one) as most issues seem to be client-side. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3983952#3983952 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3983952 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: The value of seam cannot be acquired with JSF.
Turn debug on in Seam remoting so that you can see that the request and response xml is valid. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3983367#3983367 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3983367 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Security Solution for Seam
dietice wrote : | Further i have a feature request: I would like to have 'dynamic roles' (roles depending on the calling principal). | This type of authorization is supported by the security API, via dynamic permissions. In fact the security example as it exists in CVS already demonstrates this feature. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3982477#3982477 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3982477 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam 1.1.0 Beta 1 Security Example Deployment Failure !!
yj4jboss wrote : Hello Gavin, | Any idea when the Security APIs will be ready ? | http://www.m-itc.net Unfortunately it won't be ready for the 1.1 release of Seam. There's still another month or so of work to do writing documentation, examples, tests, etc. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3982478#3982478 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3982478 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam 1.1 beta 1
I've fixed the security example, there was a redundant entry left in components.xml. Both jboss-service.xml and login-config.xml have been removed, I'll update the wiki page to reflect this. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3981592#3981592 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3981592 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re:
The date type is already registered in the constructor, and there is special handling for the date class in getWrapperForObject(), hence no need for the registerWrapperClass() call for dates. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3981636#3981636 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3981636 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam Remoting und JMS Topic subscription questions.
appendix wrote : | Is there a reason why the property connectionProvider in org.jboss.seam.remoting.messaging.SubscriptionRegistry lacks a getter method and hence cannot be set by a parameter in seam.properties, components.xml or web.xml? I'll add the getter method for you today. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3978987#3978987 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3978987 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: JavaScript Error when using sortable t:dataTable
I've got a really nice date picker that I wrote a few years ago. When I get a chance I'll dress it up as a Seam tag and add it to CVS. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3979198#3979198 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3979198 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam Remoting und JMS Topic subscription questions.
Hmm, I'm not sure why you'd be getting that specific Javascript error in relation to messaging. The only place I can see it possibly happening is in the Seam.Remoting.hideLoadingMessage() method - just to be safe I've updated this method in CVS to check that Seam.Remoting.loadingMsgDiv is not null, so you might like to get the latest version from CVS and try that. Alternatively, you can just add this code snippet to your page if you don't want to get the latest CVS version: | Seam.Remoting.hideLoadingMessage = function() | { | if (Seam.Remoting.loadingMsgDiv) | Seam.Remoting.loadingMsgDiv.style.visibility = 'hidden'; | } | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3978904#3978904 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3978904 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Conversor error in examples/secutiry
That table looks wrong, the Role table should only have one username column. I don't know if it's an artifact of using MySql, but you could try giving the user entity a surrogate key instead of using the username. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3978906#3978906 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3978906 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam Remoting und JMS Topic subscription questions.
Seam.Remoting.subscribe() sends an asynchronous request to the server, which means you're not guaranteed to have a token in the subscription registry by the time your page gets to the script at the bottom of the page. I suggested putting the code to set the token inside your callback method, because it is synchronous with the subscription request. However if your callback method isn't being called before the page is refreshed (because you haven't received any messages during that time) then you can override SeamRemote.subscriptionCallback() instead: | script type=text/javascript | var cb = SeamRemote.subscriptionCallback; | SeamRemote.subscriptionCallback = function(doc) { | cb(doc); | document.getElementById('token').value = Seam.Remoting.subscriptionRegistry[0].token; | } | /script | } | Using setTimeout() is definitely not the way to do it. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3978487#3978487 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3978487 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Remoting and java map to js map error conversion
Fixed in CVS, sorry about that. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3978116#3978116 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3978116 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam Remoting und JMS Topic subscription questions.
The token is passed back in the response to the subscribe request, and added to the subscription registry in Seam.Remoting.subscriptionCallback(). You should put the code for setting the token in your channelMessageCallback() method (only setting it if it hasn't already been set). View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3978119#3978119 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3978119 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam Remoting und JMS Topic subscription questions.
The code for dealing with stale subscriptions is a little messy at the moment. However to deal with your immediate issue, if you can somehow pass your subscription token to the next page (with a hidden field or something) then you can manually insert your subscription into the registry like this: | Seam.Remoting.subscriptionRegistry.push({topic:topicName, callback:callback, token:token}); | Then simply call Seam.Remoting.poll() to kick off the polling process. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3977499#3977499 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3977499 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam Remoting and java.math.BigDecimal
I've committed some changes to CVS to fix this. BigDecimal and BigIntegers are now marshalled as String values. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3977736#3977736 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3977736 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Unmarshal error using Remoting
Could you post the code for searchCriteriaFilename ? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3976414#3976414 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3976414 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Unmarshal error using Remoting
emsa wrote : Upgraded to CVS and it works, so I guess that it is a bug in 1.0.1 - can someone confirm this? There was an inheritance bug I fixed a while ago - I'm guessing that the filename field in your class is inherited from a parent class? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3976436#3976436 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3976436 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam security example failure.
I'm not sure what's causing the exception, but seam-security.xml is currently not being used so no need to include it for the time being. That may change once page security is implemented, but for now the only configuration is in components.xml. I'll be working on getting this stuff complete real soon now, so I'd recommend waiting a couple of weeks if possible until the security API is more final. It should be a whole lot simpler to use and easier to configure once it's complete. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3976009#3976009 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3976009 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: examples/security
The security example only implements model security, not page security so while you can directly access protected.seam you will not be able to execute the protected action. That being said, I'll shortly be reworking the security API to make it much more complete than the state it's in right now. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3975677#3975677 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3975677 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: examples/security
Not yet, but there are plans for it. This part of the security API will be implemented with a servlet filter. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3975882#3975882 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3975882 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam Remoting. How can I get list of Objects?
This should just work. The result should be an array of SomeObject objects - what do you mean by Javascript Array filled VOID objects ? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3975603#3975603 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3975603 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: remoting helloworld on tomcat
If you post a JIRA issue for this I'll take a look at it. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3975605#3975605 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3975605 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Some Trinidad/ADF components don't work
The one time I got that exception, it was because the component class could not be found in the classpath. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3975062#3975062 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3975062 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Glaring Security Hole?
I wouldn't go as far as to constrain all entities by default, it would add another speedbump that a developer would need to be aware of when implementing remoting in their app. Section 7.9 in the remoting chapter of the documentation describes how object graphs returned by invoking a session bean can be constrained to exclude sensitive or unnecessary objects. I've got no problem implementing a similar exclusion for entity classes. Maybe @NonRemotable, or even @NoWebRemote would be a good annotation for this use case. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3972452#3972452 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3972452 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Glaring Security Hole?
Entity beans (and in fact, any JavaBean objects that are returned or referenced in the return value by a session bean method) are represented by an equivalent Javascript class to provide the developer with a familiar object model to work with. Until now, no-one has expressed any issues with exposing the model (I guess it depends on the nature of the project), although I suppose that it wouldn't be difficult to annotate certain entities with @Restricted or something like this which would prevent it from ever being used in remoting. If you'd like such a feature, please raise a JIRA request. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3971438#3971438 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3971438 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Inside Working Memory
From what I understand, fireAllRules() itself doesn't really do much. Most of the actual rule evaluation work occurs while you're asserting objects into the working memory. Here's a snippet from the JBoss Rules documentation: anonymous wrote : | Assertion is the act of telling the working memory about the facts. WorkingMemory.assertObject(yourObject) for example. When you assert a fact, it is examined for matches against the rules etc. This means ALL of the work is done during assertion; however, no rules are executedl you call fireAllRules() after you have finished asserting your facts. This is a common misunderstanding by people who think the work happens when you call fireAllRules(). | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3970895#3970895 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3970895 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Interface from C app to Seam?
CptnKirk wrote : What I figured. Thanks. Any plans to publish a protocol spec? I was actually thinking just the other day that it would be a good idea to document this stuff, so yeah it's on my list of things to do now :) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3970711#3970711 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3970711 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Getting Conversation Id in javascript. Is there a better
| script type=text/javascript | Seam.Remoting.getContext().setConversationId(#{conversation.id}); | /script | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3970637#3970637 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3970637 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Interface from C app to Seam?
Remoting was built for exactly this scenario, and even though we only provide a Javascript implementation of the remoting client, there is nothing stopping anyone from building a C (or whatever) client that integrates with the remoting servlet. It uses a simple XML-based structure for its protocol, and does all the work of setting up the Seam request (creating contexts, resuming conversations, etc) for you. If you implement your remote methods then test them first using Javascript, you can turn on debug mode to see the contents of the request and response packets. It should then be a pretty simple exercise to re-create the same request structure in C. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3970638#3970638 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3970638 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Interface from C app to Seam?
CptnKirk wrote : Not to knock the work done by the remoting team, but is there a reason a custom protocol was chosen vs a Seam RemotingEndpoint that would handle remoting via some version of SOAP? | | I would have a thought the benefits of a standard transport protocol would outweigh the down side. Since obviously they did not, what are the benefits of this approach? SOAP was too heavy-weight for my taste; instead I chose to implement the remoting protocol based loosely on the XML-RPC spec, with some minor changes to how object references were handled and the inclusion of a request context to carry additional stuff like the conversation ID. The intent was to make the protocol as lightweight and simple as possible to both keep network traffic minimal and to make it easy to implement remoting clients in other languages (ActionScript, etc). As a side note, there is a more comprehensive web services strategy in the works for Seam which will enable calling Seam components via SOAP. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3970655#3970655 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3970655 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Invitation to try new Seam authentication features
msteiner wrote : | During one request RollbackInterceptor is called two times: one with AuthenticationException and one with NullPointerException. Is this ok ? | I think its ok, although when I have some more time I'll try to take a look. In any case, the more I think about it, the more certain I am that this stuff will be re-architected as soon as I get a chance. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3969692#3969692 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3969692 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Invitation to try new Seam authentication features
dbatcn wrote : I just noticed the new Seam security stuff which at first glance seems like exactly what I'm looking for right now. Is this scheduled for Seam 1.1.0.GA? Is there an ETA for this? I'm champing at the bit for this but don't think I'm really ready to work with a CVS or nightly build... | | As always, RTFM pointers to something I missed while searching humbly accepted. At this stage it's not scheduled for any particular release, it's more of a work-in-progress. I'm totally snowed under with other work for the next few weeks, but after that I'm hoping that I'll be able to concentrate purely on getting the Seam security API complete. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3969693#3969693 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3969693 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Invitation to try new Seam authentication features
msteiner wrote : Seam security does strange things with transactions when is turned on 'Transaction failed' message is rendered and when I try write to db I get exception: | | | | | (...) | | Caused by: org.jboss.util.NestedSQLException: Transaction is not active: (...) The security API doesn't do anything specifically with transactions. Is this problem happening in your AuthenticationProvider? In response to your other question, no its not ready for any type of production use yet. I was hoping to get more feedback, however I'm currently thinking that I will be redesigning it using Seam interceptors and doing away with container integration. This should simplify the configuration for most people, make it more portable and also allow security to be implemented for JAVA_BEAN components. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3969302#3969302 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3969302 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam remoting poll failover
I'll try to find some time to look at this today. I guess you need the following two things to fix your issue: 1. Poll Handler correctly returning an error when the token doesn't exist. 2. Some way of handling a polling error in the client so you can re-establish the subscription, e.g. Seam.Remoting.onPollError = MyPollErrorMethod. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3969001#3969001 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3969001 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Invitation to try new Seam authentication features
This stuff only exists in CVS at the moment, and yes, you should try it :) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3966893#3966893 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3966893 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Invitation to try new Seam authentication features
msteiner wrote : I've followed instructions on wiki and I get exceptions: | When does this exception occur? Does the example app work? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3966937#3966937 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3966937 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Invitation to try new Seam authentication features
gus888 wrote : I downloaded jboss-seam-CVS.20060822, but I could not find the security example in the examples directory. Can anybody give me a direction? Thank you. The nightly build seems to be missing some other stuff too, not sure why. If you want you could get the project straight from CVS, instructions are here on the wiki: http://wiki.jboss.org/wiki/Wiki.jsp?page=CVSRepository View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3967118#3967118 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3967118 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Invitation to try new Seam authentication features
If you have trouble accessing CVS, the next nightly build should include the security example. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3967119#3967119 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3967119 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Invitation to try new Seam authentication features
msteiner wrote : | Ok I know where is the problem. | | To replicate exception take security example from cvs, set property debug of org.jboss.seam.core.init = true in components.xml like this: | true | add seam-debug.jar to web-inf/lib in war. | | When I turned off debug in my application and it started working fine. | | | I've made some changes to allow it to now work with debug mode turned on. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3967120#3967120 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3967120 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Problem with remote.js in IE7
The remote.js problem is fixed in CVS. Is the type of your @Id field a primitive long, or a java.lang.Long? If it's a primitive, then you won't be able to set it to null, and I'd suggest using the wrapper type instead. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3966595#3966595 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3966595 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Invitation to try new Seam authentication features
I'd like to invite people to try out (and hopefully provide some feedback) on the security features that are currently under development in CVS. At this stage the authentication features are in a usable form and the next step is to determine the best way to implement authorization. I've been keeping an eye on the various discussions on the forum about how authorization should work (permissions vs jaas roles, etc) and would like to produce a definitive set of requirements that hopefully can be satisfied by an eventual implementation. I've put together a rough guide on the wiki on how to configure authentication here: http://wiki.jboss.org/wiki/Wiki.jsp?page=SeamAuthenticationGuide There is also a very basic example of this stuff in the /examples/security directory. I'm looking forward to hearing from people's experience. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3966867#3966867 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3966867 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Chat server module?
Here's one that might work for you: http://www.open-im.net/en/ View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3966566#3966566 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3966566 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: seam remoting - metadata array length
This was fixed in CVS a couple of months ago now, it just hasn't made its way into a release yet. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3966219#3966219 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3966219 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: pressing enter doesn't submit the form in IE when there'
Neither, it's just how IE works. Incidentally, the IE7 beta seems to behave how you would expect (it submits the form). View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3963512#3963512 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3963512 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: @WebRemote: problem with client site instantiation of ob
There should be getters and setters, I'll try and find time today to fix this for you. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3963052#3963052 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3963052 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: WebRemote inconsistencies
Yes you're right, it should only use the Local interface. I'll modify InterfaceGenerator and the Call class today to ensure that they get only the interface annotated as @Local. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3963053#3963053 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3963053 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: WebRemote inconsistencies
All fixed. The local interface is now used in both places. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3963064#3963064 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3963064 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: @WebRemote: problem with client site instantiation of ob
This has been fixed in CVS - you'll now get correctly generated getter/setter methods for non-component types. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3963065#3963065 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3963065 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: @WebRemote: problem with client site instantiation of ob
What Javascript do you have on the client? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3962365#3962365 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3962365 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: @WebRemote: problem with client site instantiation of ob
Your javascript looks ok. Is SelectItem an interface? If it is, then there are still some outstanding issues with how remoting deals with interfaces. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3962369#3962369 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3962369 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: @WebRemote: problem with client site instantiation of ob
What does /peanutcafe/seam/remoting/interface.js?myManager produce for the SelectItem class? Looking at the MyFaces implementation of SelectItem, it seems that they are using a non-standard naming convention for their javabean fields... ie. _value instead of just value. This might be what's messing up the stubs for this class. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3962381#3962381 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3962381 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: @WebRemote: problem with client site instantiation of ob
What you could do is implement your own javascript stub and register it with Seam.Remoting.registerType(), but it would be interesting to see what actual XML is being sent in response to your remoting call. You can enable debugging mode with Seam.Remoting.setDebug(true) which will show you the XML packets that are sent back and forth between the browser and the server. As far as I recall, the field values for the SelectItem object should still be sent back even if they don't have a matching getter/setter method. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3962428#3962428 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3962428 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: @WebRemote: problem with client site instantiation of ob
rlhr wrote : | | | | Wed Aug 02 2006 14:56:55 GMT+0200 (Romance Daylight Time): Response packet: | | envelope | | header | | contextconversationId12/conversationId/context | | /header | | body | | result id=1 | | value | | bag | | elementref id=0//element | | elementref id=1//element | | elementref id=2//element | | /bag | | /value | | refs | | ref id=0bean type=javax.faces.model.SelectItem/bean/ref | | ref id=1bean type=javax.faces.model.SelectItem/bean/ref | | ref id=2bean type=javax.faces.model.SelectItem/bean/ref | | /refs | | /result | | /body | | /envelope | | It looks like the field values for SelectItem aren't being serialized after all. I'll take a look at this today and see if I can come up with something that will work for the cases where the field naming doesn't match the getter/setter names. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3962602#3962602 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3962602 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: @WebRemote: problem with client site instantiation of ob
I've checked in some changes to CVS which hopefully should fix your issue. It would be great if you could try this out for me and let me know if it works for you. One other neat thing that is now supported is explicit importing of non-component classes, so for example you can now import/browse this: /seam/remoting/interface.js?javax.faces.model.SelectItem to generate a client stub for the SelectItem class. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3962684#3962684 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3962684 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: WebRemote inconsistencies
I've never come across this issue before. If you browse to the stubs directly do they only work intermittently? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3962687#3962687 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3962687 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: WebRemote inconsistencies
Is it possible for you to debug this? I can't reproduce it so any insight into its cause would be very helpful. You would need to set your breakpoint in InterfaceGenerator.appendComponentSource(). There's a while-loop that iterates through the methods of your component to add them to the javascript source: componentSrc.append(Seam.Remoting.type.); | componentSrc.append(component.getName()); | componentSrc.append( = function() {\n); | componentSrc.append( this.__callback = new Object();\n); | | for (Method m : type.getDeclaredMethods()) // - set breakpoint here You would need to step through this code and see if its finding your component methods or not. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3962702#3962702 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3962702 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Remoting with Clickable Lists
I'm afraid I don't know how the @DataModelSelection magic works, but the remoting framework will only allow you to invoke a Seam component RPC-style, so anything you want to pass up will need to be expressed as a method parameter. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3961166#3961166 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3961166 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user