[JBoss-user] [Security JAAS/JBoss] - Re: Cached Authentication issue.

2005-12-09 Thread tosenthu
anonymous wrote : This is actually something which is a rather major issue (IMO). The good news is that you can fix it by changing a configuration file (details follow). The bad news is that JBoss seems to be suffering from the same issues that have plagued IIS for years -- a default

[JBoss-user] [Security JAAS/JBoss] - Custom login module issues.

2005-11-17 Thread tosenthu
Hai I wrote a servlet to do my login check. where i call logincontext.login(). and based on the exception i conclude the success of the login. My problem is, even after a successfull login, the roles that i get using getRoleSet() is not set in the request. request.isUserinRole() method

[JBoss-user] [Security JAAS/JBoss] - Cached Authentication issue.

2005-11-09 Thread tosenthu
Hai Am using Custom database login module, I want to restrict from one user to login more than once. I am able to get the available principals in the security domain. but I get that from the cached authentication list. Now the problem is the JAAS never allows to call my login module when

[JBoss-user] [HTTPD, Servlets JSP] - javax.servlet.ServletException: setAttribute: Non-serializab

2005-06-05 Thread tosenthu
Hai I am using a 3rd party control named common-controls for a creating tree control. I was using JBoss 3.2 and tomcat 5.5.0 previously. i just now changed the Version of JBoss to 4.0.2 and Tomcat to 5.5.9. Now the same code that was running in my previous version isnt working with the new

[JBoss-user] [Security JAAS/JBoss] - How avoid same user name login.

2004-09-03 Thread tosenthu
hai How to restrict same user loggin in diff machine.. Am using database Login module. Thanks in advance. Senthil Kumar M Rangaswamy View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3847164#3847164 Reply to the post :

[JBoss-user] [Security JAAS/JBoss] - Re: How to get all the users who have been authenticated by

2004-07-23 Thread tosenthu
hai thanks, But can u please guide me to start this work. .and it that the only way to get this work done.. Senthil Kumar M Rangaswamy View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3843070#3843070 Reply to the post :

[JBoss-user] [Security JAAS/JBoss] - How to get all the users who have been authenticated by JAAS

2004-07-15 Thread tosenthu
Hai all am using JAAS to authenticate the users for my application, In my server i need to restrict users who have logged in already and alive, to do this i need to know whether the user is already logged in or not. and also there is a possiblity in my app for any user to delete other users,

[JBoss-user] [Management, JMX/JBoss] - Is it possible to have a Startup class for an .ear

2004-06-07 Thread tosenthu
hai. i have an web application, for which i need to wirte a startup class. is this possible. is that deploying a .sar file is the only way to accomplish this. kindly help me.. Thanks in advance Senthil Kumar M Rangaswamy View the original post :

[JBoss-user] [Security JAAS/JBoss] - How to logout a user?

2004-05-26 Thread tosenthu
Hai, Can any body tell me what i have to do to logout a user. i now simply say session.invalidate(), but when i try another user who is not authorised he gets the access and this happend when i even delete the previously logged in user from the database. does i need to do some other thing to

[JBoss-user] [Security JAAS/JBoss] - Re: logout when having used j_security_check

2004-05-26 Thread tosenthu
Hai Is this a correct way to do, cos i do have the same probs, and if its valid to do this can u please tell me where to keep this code, means in which class, and how this method will be called. and also tell me the confiuration details that i have to make this code to work. Thanks in

[JBoss-user] [Security JAAS/JBoss] - How to get the Authentication Error messages.

2004-05-24 Thread tosenthu
Hai, Am using my own custom class for authendicating users. Apart from password, the user get authendicated on various other conditions like expiry of users and so on. so when an authendication fails i need to show the user what went worng. is there any possiblity to do this Thanks in

[JBoss-user] [Security JAAS/JBoss] - Re: Disabling User in a JAAS-based J2EE application

2004-05-24 Thread tosenthu
Can u please tell me where to place this class. means in which jar file. can i have it in my own .ear file, but when i do this it shows an error. that class not found. Thanks in advance View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3836019#3836019 Reply to

[JBoss-user] [Security JAAS/JBoss] - Custom Valve Class problem

2004-05-24 Thread tosenthu
http://www.jboss.org/index.html?module=bbop=viewtopicp=3836019#3836019 With reg the above link. i tried to create my own FormLoginValve class. but am not sure where to place this class. can i have it in my own .ear file. but when i did so it show NoClassFound error. please help me to solve this

[JBoss-user] [Security JAAS/JBoss] - Problem with the getUserPrincipal() method.

2004-05-22 Thread tosenthu
My users are authenticated by the database user login module of JAAS. the problem is getUserPrincipal() call in a JSP is not returning the user name. it returns null for authenticated user. what might be the problem. Thanks in advance, Senthil Kumar M Rangasamy View the original post :

[JBoss-user] [Security JAAS/JBoss] - How to display various error messages in JSP when the User a

2004-05-22 Thread tosenthu
I am using the databse user login authentication. I need to print the error messages of what went worng with the login value provided. because in my case there are 2 criteria more where the login can fail. how can i get this error messages displayed on the page. Thanks in advance. Senthil

[JBoss-user] [HTTPD, Servlets JSP] - Can i trap HTTP-403 error

2004-05-22 Thread tosenthu
i am using JAAS for authenticating and authorising the app user. IE's error page for 403 is shown when an user tries to access a resource which is not allocated to. can i handle this error and redierct to another page of mine. if so how to do that. Thanks in advance. Senthil kumar M