Security in Java EE Application with JBoss
What would be the basic and obvious security considerations and recommendations in a Java EE Web application? ...
What would be the basic and obvious security considerations and recommendations in a Java EE Web application? ...
Hi, Is there any way to get a String[] with the roles a user has in the JSP or Servlet? I know about request.isUserInRole("role1") but I also want to know all the roles of the user. I searched the servlet source and it seems this is not possible, but this seems odd to me. So... any ideas? ...
JBoss 5 has just come out of beta after 2 years, giving us a JEE 5 compliant container... several months before the release of JEE 6 (JavaOne in May or thereabouts 2009). We've had Glassfish v2 for awhile and now have Glassfish v3 Prelude. Is there any reason to JBoss 5 over these? I've had the feeling for the last year or more than J...
I am using UrlRewrite in a JSP project over JBoss. I have configured some rules, so that stuff like: http://mysite/parameter Is read as: http://mysite/index.jsp?parameter=parameter And so on. Now, what I would like to know if there's a way to replace certain characters submitted in the URL by the users with others. Something like wh...
I have this Web Application in JSP running on JBoss Application Server. I am using Servlets for friendly urls. I'm sending search parameters through my JSP's and Servlets. I am using a form with a text box, the Servlet The first Servlet uses request.getParameter() to get the text, and sends it to another Servlet with response.sendRedir...
I have a client that's running an application based on JBoss 4.0.5, Seam 1.2 and RichFaces 3.0.1. Their system is having performance problems due to the fact that a lot of data is coming back from the server to be displayed on screen and it seems like the rendering of that data is taking forever. The data brought back is displayed in a t...
I have a J2EE 1.3 app that uses EJB 2.1 session and entity beans. Currently this app runs as an EAR file on JBoss. I'd like to switch to the SpringSource dm Application Server because of all the benefits that OSGi provides. Does anyone know if there's an OSGi bundle that can act as an EJB container? Can OpenEJB do this? ...
Currently, I only know a way of doing RPC for POJOs in Java, and is with the very complex EJB/JBoss solution. Is there any better way of providing a similar functionality with a thiner layer (within or without a Java EE container), using RMI or something that can serialize and send full blown objects over the wire? I'm not currently i...
Hello to all, I have a problem with JBoss Richfaces tree: Whenever I select a tree node (programmatically or by user click), the tree is re-rendered and (if needed) the tree node is scrolled into the visible area of the tree. So far - so good, but: the selected node is automatically scrolled at the very bottom of the tree view area, al...
We have 2 applications that run under JBoss. I am looking for a way to reduce the overhead of the server. The main app runs under Tomcat. The other app is made up of MBeans. Is there a way to run MBeans under Tomcat? Alternative suggestions are appreciated. ...
I need some ideas on how I can best solve this problem. I have a JBoss Seam application running on JBoss 4.3.3 What a small portion of this application does is generate an html and a pdf document based on an Open Office template. The files that are generated I put inside /tmp/ on the filesystem. I have tried with System.getProperties("...
I'm working on an application that is distributed over two JBoss instances and that produces/consumes JMS messages on several JMS queues. When we configured the application we had to determine which threading model we would use, in particular the number of producing and consuming threads per queue. We have done this in a rather ad-hoc f...
For example, <mbean code="org.jnp.server.NamingBeanImpl" name="jboss:service=NamingBeanImpl" xmbean-dd="resource:xmdesc/NamingBean-xmbean.xml"> </mbean> ...
I've been running JBoss 4.2.2 GA for ages now under XP 64 and server 2003. Recently I decided to install server 2008 (x64) over my xp 64 installation and use it as my desktop as so many people love to tout... Unfortunately now when I start JBoss 'something' - and i am assuming it's somehow the windows firewall - prevents connections fr...
How can I create custom links to login and logout in admin mode at JBoss Portal? ...
I want to monitor my application running inside JBoss version 3.2.5 using JVisualVM. I have installed my app to run ass windows serivce. JVisualVM sees my application but i can't see neither thread dump or heap dump. Profiling is not possible either. I get an error dialog with an error icon but with no text. Any ideas? ...
I want to write a simple servlet in JBoss which will call a method on a Spring bean. The purpose is to allow a user to kick off an internal job by hitting a URL. What is the easiest way to get hold of a reference to my Spring bean in the servlet? JBoss web services allow you to inject a WebServiceContext into your service class using a...
hello: I have a problem with jaas and jboss. I try to authenticate users against a database using form based method but jboss tells me the password are wrong (no, the password is correct), but if i use UsersRolesLoginModule with properties files, no problem. In the pg database in debug mode the query that JBoss does seems ok, The passwo...
Hello ! I'm using Jboss tools (3.0.0 alpha, on Eclipse 3.4) to hot deploy my war on Jboss 4.2.3. My war depends on another project (packed inside a jar) I 'm working on. But, when I save a file in this project(the jar project), Jboss Tools republish the compiled classes of the war project, but does not re deploy the classes changed in th...
I am having a very strange behavior in JBoss, and I'd like avail myself of the Collective Wisdom of the SO Crowd. We're using JBoss (4.0.4 I think) to serve SOAP calls. In fact, it's used as glorified RPC server, no more. We're running out of memory when we have 20+ clients sending their requests at the same time. The requests consist o...