[JBoss-user] [Security & JAAS/JBoss] - Displaying the reason of login failure on the error-page

2006-05-30 Thread kosl
Dear I'm developing an J2EE application using jboss and jsf. I'm developing right now authenticating mechanism for this application. I've written a LoginModule which is athenticating users if they will give the right login and password. The same LoginModule is locking the account and not allowi

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - problems with booleans

2006-05-24 Thread kosl
Dear All, I'm using jboss 4.0.3 and postgresql 8.0. I'm trying to write a CMP entity bean with fields of type boolean (or I have also tried Boolean). Unfortunatelly none of those works and I get the following exception: 12:08:04,796 ERROR [LogInterceptor] TransactionRolledbackLoca

[JBoss-user] [Security & JAAS/JBoss] - Question about login module and EJB

2006-03-19 Thread kosl
Dear All, I was wondering since a long time about custom login modules and whether it is possible somehow to write such a login module which would use EJB. Why ? Just because I'm developing a web application which stores user data in Container managed entity beans and it would be very appropria

[JBoss-user] [Security & JAAS/JBoss] - Re: basic problem

2006-03-16 Thread kosl
Thank you very much for your answer! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3930809#3930809 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3930809 --- This SF.

[JBoss-user] [Security & JAAS/JBoss] - basic problem

2006-03-15 Thread kosl
I have read all the wiki and everything and I still don't know how to get some basic information. I would like to be able to get the name of the authenticated user or check his role. How to do that ?? In the DVD example it is done like that : | String user = org.jboss.secu

[JBoss-user] [Security & JAAS/JBoss] - Re: JAAS Login/Logout Notification

2006-02-28 Thread kosl
Thank you very much! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3926961#3926961 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3926961 --- This SF.Net email is spo

[JBoss-user] [Security & JAAS/JBoss] - Re: JAAS Login/Logout Notification

2006-02-26 Thread kosl
"MrForms" wrote : | If you are using a web application, how about using a simple Session listener and checking for sessionCreated, sessionDestroyed ? | I have the same problem as rameshsr. But can anybody tell me where I can find information how to write this "simple Session listener" ? Th

[JBoss-user] [Security & JAAS/JBoss] - Re: login form on any page

2005-12-24 Thread kosl
Ok I know that it is the "usual" way. My question was how to put a form on a non-secured web page. Probably that's imposible to achieve easily but maybe someone knows how to do it ? Kind Regards, Karol Oslowski View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=

[JBoss-user] [Security & JAAS/JBoss] - Re: login form on any page

2005-12-24 Thread kosl
sorry the form should be as code: | | | Login: | Has?o:Login: | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3914235#3914235 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3914235 ---

[JBoss-user] [Security & JAAS/JBoss] - login form on any page

2005-12-24 Thread kosl
Hi, I'm using jboss 4.0.3 and jaas with form based authentication. Everything is working but I would like to have possibility to have a login form on every (posibly even not secured) page. When I put the "usual" form Login:Has?o:Login: on the pages I get the error: HTTP

[JBoss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: MyFaces Tomahawk and JBoss 4.0.3

2005-11-21 Thread kosl
I don't know how to solve this problem but in my case I've put the tomahawk.jar in the server's lib and all xld's from it in the project's web-inf... and now it seems too work. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3908321#3908321 Reply to the post :

[JBoss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: Problems wit myfaces 1.1.1 and tomahawk.jar - help badly

2005-11-17 Thread kosl
Someone on another forum had the same problem and here is the solution: extract all tld's from the myfaces-all.jar, copy the myfaces-all.jar to the lib of the server, and that's it ! I guess it is not the nicest solution but it is working.. k. View the original post : http://www.jboss.com/ind

[JBoss-user] [Tomcat, HTTPD, Servlets & JSP] - Problems wit myfaces 1.1.1 and tomahawk.jar - help badly nee

2005-11-17 Thread kosl
Dear All, I'm using Jboss 4.0.3 SP1 and myfaces 1.1.1, I'm having a project consisting of an EJB application and a web application. Both projects are in one ear. I'm having an entity bean whose method is returning an instace of the class TreeNodeBase which can be found in tomahawk.jar, This method

[JBoss-user] [Beginners Corner] - Problems with JAAS

2005-11-05 Thread kosl
Dear all, I'm trying to secure web resources in jboss with jaas. I've configured everything (?) and in my web.xml I have: | | | FORM | Levia application | | ./login.jsp | ./loginerror.html | | | | My problem is really strange (the strange thing i

[JBoss-user] [EJB/JBoss] - External libraries in EJB projects

2005-10-22 Thread kosl
Dear All! I'm trying to write a Session Bean in which one of the business methods is giving as result a class from an external jar (external = not included in the jboss lib). When I try to deploy it I get something like this: ** java.lang.NoClassDefFoundError: org/apache/myfaces/custom

[JBoss-user] [EJB/JBoss] - problems with jboss an xerces

2005-06-28 Thread kosl
Dear All! I'm writing a business method of an entity bean which is supposed to read some informations from an XML file. I use the following code: To get the parser and the document: | | DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance(); | Docu

[JBoss-user] [Beginners Corner] - Xerces and Jboss problem

2005-06-28 Thread kosl
Dear All! I'm writing a business method of an entity bean which is supposed to read some informations from an XML file. I use the following code: To get the parser and the document: | DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance(); | DocumentB

[JBoss-user] [Beginners Corner] - Mail with JBoss

2005-05-31 Thread kosl
Hi all! I'm trying to write my first Message Driven bean which is supposed to send emails. But I'm having problems with resourse references. Every time I'm deploying it I receive the message: "12:51:32,133 WARN [MessageDrivenContainer] No resource manager found for mail/myapp/myMail" Th

[JBoss-user] [The Lizzard's corner] - how stable/reliable ?

2004-10-13 Thread kosl
Hello, I'm planning to implement a quite big web based commercial application. It's complexity can be compared to this of ebay. In theory if it will be successful there could be a lot of users of it. Unfortunatelly me neither my team we don't have money for a commercial application server. User

[JBoss-user] [Beginners Corner] - How stable ?

2004-10-12 Thread kosl
Hello, I'm planning to implement a quite big web based commercial application. It's complexity can be compared to this of ebay. In theory if it will be successful there could be a lot of users of it. Unfortunatelly me neither my team we don't have money for a commercial application server. Use