[JBoss-user] [Beginners Corner] - how to access index.jsp

2006-05-09 Thread wizumwalt
Hi all, I created an index.jsp page and packaged it up in a war and deployed it in jboss and would like to know how to access it w/o having to type in the name of my web application. If I just do 'http://localhost:8080', then I get the jboss page instead of my index.html. View the original

[JBoss-user] [JBoss/Spring Integration] - Spring JDBC or Hibernate

2006-05-11 Thread wizumwalt
I'm doing a new web app and just starting out w/ spring and wondering if I should use Spring JDBC or Hibernate. I've not used either one before, but have done ejb2's w/ JDBC that I've done manually, lots of work, but very flexible. I haven't done this in a while now and remember ejb's as being q

[JBoss-user] [Security & JAAS/JBoss] - JAAS is a secure role based access control?

2006-05-12 Thread wizumwalt
Hi all, I'm getting ready to do an application that requires a user with a certain role (admin, visitor, consultant, etc...) to login w/ name and password, and once logged in, will have different permissions and views within the web app depending upon the category (or role) that user is in. I'

[JBoss-user] [Security & JAAS/JBoss] - Re: JAAS is a secure role based access control?

2006-05-12 Thread wizumwalt
Thanks, but that didn't help much as I've not worked security before and have more basic questions. I don't really understand JAAS yet and ... let me post my question like this. I will have thousands of users, each having a specific role of which there are about 4-8 different user roles such as

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - fast data access

2006-05-16 Thread wizumwalt
Hey all, what's the best way to go about doing a web app that has about 40 web pages that are all database driven. I've got experience doing ejb's, but that was a while ago and I've been working in other fields. Now I'm back doing web apps and wondering what I should look into that would be good

[JBoss-user] [Security & JAAS/JBoss] - DatabaseServerLoginModule help

2006-05-16 Thread wizumwalt
Hi all, I'm really trying to do something that allows my users w/ assigned roles to login w/ passwd through a servlet using the databaseServerLoginModule, but having a hard time understanding what to do w/ so little documentation. Here's what I've done so far and if someone could point me in th

[JBoss-user] [Beginners Corner] - DatabaseServerLoginModule help

2006-05-17 Thread wizumwalt
Hi all, I'm having a hard time getting any responses w/ the JBossSX/JAAS stuff (maybe cause I'm so lost no one wastes the time) so I'm going to drop it in here if that's ok. I'm just trying to allows my users w/ assigned roles using username/password to login using the databaseServerLoginModul

[JBoss-user] [Security & JAAS/JBoss] - Re: DatabaseServerLoginModule help

2006-05-18 Thread wizumwalt
Yeah, that was a typo. Thanks, this doc sheds more light on the subject for me. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3944677#3944677 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3944677 -

[JBoss-user] [Security & JAAS/JBoss] - help w/ DatabaseServerLoginModule

2006-05-18 Thread wizumwalt
Hey all, I'm still trying to get my users to login to my web app. I followed the directions here ... http://wiki.jboss.org/wiki/Wiki.jsp?page=SecureAWebApplicationUsingACustomForm but so far, not having much luck. I've tried to modify for the DatabaseServerLoginModule. So if anyone sees anything

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - postgresql config

2006-05-18 Thread wizumwalt
When I start up jboss, is the following message stating that my postgresql configuration is correct and available? | 21:44:46,181 INFO [WrapperDataSourceService] Bound connection factory for resource adapter for ConnectionManager 'jboss.jca:service=DataSourceBinding,name=PostgresDS to JNDI

[JBoss-user] [Security & JAAS/JBoss] - Re: help w/ DatabaseServerLoginModule

2006-05-19 Thread wizumwalt
I used INTEGER types because they take up less space and I will store them in other tables as well to show what users relate to other data. Is it standard practice to use these tables for security only and nothing else? Then I'll just have to store user names again elsewhere. Yeah, I'm still a

[JBoss-user] [Security & JAAS/JBoss] - Re: help w/ DatabaseServerLoginModule

2006-05-19 Thread wizumwalt
Also, I just found this link ... http://docs.jboss.org/jbossas/jboss4guide/r4/html/ch8.chapter.html#ch8.dabaseserverloginmodule.sect which is very helpful and wondering if there are example implementations of the DatabaseServerLoginModule w/ a web app somewhere's. View the original post : http

[JBoss-user] [Security & JAAS/JBoss] - Re: help w/ DatabaseServerLoginModule

2006-05-19 Thread wizumwalt
I think I got this working (because now I don't get errors in my server output when logging in), but what I don't know is how to redirect a logged in user to another page. The action to my index.html page which shows the user/pass fields is "j_security_check". Anyone? View the original post :

[JBoss-user] [Security & JAAS/JBoss] - Re: help w/ DatabaseServerLoginModule

2006-05-19 Thread wizumwalt
Ugh, I wish these posts could be edited. Anyways, I should have given a bit more detail in the last post ... my index.html includes user/pass fields and the action to post to is 'j_security_check". Once the user logins in, I have some Spring controllers that return some views in my ~/WEB-INF/vi

[JBoss-user] [Security & JAAS/JBoss] - Re: help w/ DatabaseServerLoginModule

2006-05-23 Thread wizumwalt
For some reason, I still can't get this to work. I'm using JBoss-4.0.4GA. I try to his a url like localhost:8080/orders.ftl which I expect to invoke a SpringMVC controller, but first the user needs to authenticate, so if I understand this correctly, this URL gets cached and he gets pointed to th

[JBoss-user] [Security & JAAS/JBoss] - tracking roles and users

2006-05-24 Thread wizumwalt
Hey all, I seem to have the databaseServerLoginModule configured and working properly (AFAIK) and now I'd like to add several more roles to my database and see if I can have it where, depending upon what role the user plays, then the pages that pertain to that user (or role type) are only visi

[JBoss-user] [Security & JAAS/JBoss] - Re: tracking roles and users

2006-05-25 Thread wizumwalt
"j2ee_junkie" wrote : Your application does not need to know what roles a user has with regard to url restriction. | later cgriffith Then I don't understand. I think my application does need to know what roles a user plays. When the user logs in, if he's only a member, then I will allow him b

[JBoss-user] [Security & JAAS/JBoss] - Re: tracking roles and users

2006-05-25 Thread wizumwalt
I think I understand what your saying about URL access based on roles, but it sort of seems like added complexity, waste of page work, lots of duplication to me. For example, I have a common menu bar for all users with only minor changes to the available menu items. This menu bar is a single pag

[JBoss-user] [JBossWS] - help w/ web service

2005-02-28 Thread wizumwalt
I'm trying to build a service according to the wiki and the error output below says I need a "WSDL-based configuration file". Isn't that what the config.xml file is? I've include that. Anyone see anything wrong w/ what I have? build.xml | | | | |

[JBoss-user] [JBossWS] - ClassNotFoundException using wscompile task

2005-03-04 Thread wizumwalt
Which attribute in this task shows where to find the class file that the compiler is looking for in the error msg? AFAIK, the source files are generated off of the interface file and placed in sourcebase, and then the classes are compiled and put in the base attrib. Any help much appreciated.

[JBoss-user] [JBossWS] - Re: ClassNotFoundException using wscompile task

2005-03-07 Thread wizumwalt
I wonder if my not having an implementation class has something to do with it. I'm following along in the Wiki, and it just shows an interface class. I'm doing a service endpoint in an ejb. Can't I genereate everything I need just from the interface class? View the original post : http://www.j

[JBoss-user] [JBossWS] - Re: ClassNotFoundException using wscompile task

2005-03-07 Thread wizumwalt
I may have something wrong w/ my wscompile ant task as to why that class is not being found. | | | | If I'm understanding these correctly, I have ... base=where my class files are placed after compiling from the generated src files. sourcebase=this is w