Soumik Basu

Ranch Hand
+ Follow
since Oct 01, 2007
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by Soumik Basu



I have written this code in my jsp file after importing the sessionBindListener class.I am writing my sessionBindListener.java class below.


in my web.xml I had to add the following


after 1 min my session gets invalidated and in the console I can see session unbounded getting printed.
For browser closing i have to write the following javascript code in my jsp page

and in close.jsp I am writing the code for session invalidation.

Its working fine.
But I have to add this page in a portal and this portal will run ion browser.
So can anyone please tell me how to handle the browser closing of a portal.
I am using BEA weblogic8.1 portal server.
[ November 26, 2008: Message edited by: Soumik Basu ]
15 years ago
JSP
I would suggest that you use AJAX.Then you need not have to submit also and get the page refreshed.
All you need to do is learn using AJAX from some tutorials and put your to be shown table in a div tag and on click of the button(which was your submit button previously)call the method written in AJAX and through AJAX call another jsp or servlet where you write the query for deleting the row.
15 years ago
JSP

try this code...I think it should work.
15 years ago
JSP
Thanks for your reply.
But could you please tell me how to handle the situation when the user directly closes the browser and hence kills the session.
15 years ago
JSP
I am having one application with 4-5 jsp and I am maintining sessions in between all pages,I am also writing the record for the user who has loggedIn in a .properties file. Now when the user logs out then the user name should get removed from that .properties file, if he logs out properly then i can write methods to remove his name.
But how to do the same job when the user directly closes the browser or the session times out?
I need to write some code when the user session gets killed or times out.
I need some help in how and where to handle the timeout or session killing event.
any help will be regarded with high spirits.
15 years ago
JSP
I am having a JSP application hosted on a weblogic8.1.My current task is, to implement the blocking of users to login from a different machine without logging out from the previous machine.For authentication I am using OpenLDAP server.My users are in Open ldap.
scenario:If one user logs in to app1 from machine1 and he doesn't logs out,and again he tries to log into the same app1 from machine2 then he should not be allowed to login this time as he had not logedout from machine 1.
any help regarding the same will be heartily acknowledged.
15 years ago
Joe,
Thanks for your help and guidance.I had finally configured and authenticated my weblogic portal with open LDAP.
ther was problem in my open LDAP server only.There was some issues with rights .....i had to modify my slapd.conf file to get the output.
Thanks again buddy!!!
15 years ago
I am very new to Open LDAP so can you please tell me how to put groups in security constraints as mentioned by you.
Is it possible for you to share your contact number,with your convinient time, such that I can call you up and resolve this issue at the earliest.
[ October 29, 2008: Message edited by: Soumik Basu ]
15 years ago
I can see my Open LDAP users through my weblogic security realm.But I am unable to authenticate users to log in to my application.
15 years ago
Please find my LDIF file below and let me know if I there is anything wrong in it.



otherwise I have done as per your guidance with JAAS control flag as "sufficient" an all.
waiting for your valuable guidance.
15 years ago
I even tried with setting both the flags as 'sufficient',yet i cannot authenticate the users in my open LDAP.
15 years ago
It will be great if you can just try the settings at your place once as I have tried with many permutations and combination at my place and I know I must be missing somewhere and hene I couldnot get the desired result.
Looking forward for your reply.
15 years ago
Hi,
I am using weblogic 8.1 portal server.I have configured it with open LDAP server for authenticating users.
I can do authentication for my portal application of the users through embeded (internal) LDAP but we need to authenticate users from open LDAP also.I need help regarding that only.
There are some users in embeded LDAP and some in open LDAP.all of the users should get authenticated with the weblogic .
I can see the users in open LDAP thru the security realm in my weblogic server but cann't use them for authentication.

any help will be regarded with high spirits.
15 years ago
I have created a portal having 2 pages in weblogic8.1 portal server.
If after starting the server I write the url of the portal in browser then the portal opens up but I want the browser to show a login page first and then after the user authenticates himself then he should be allowed to view the portal.
Please help me regarding this. Its urgent.
15 years ago
We have to authenticate the users, present in OpenLDAP ,for allowing access to the portlets deployed at BEA weblogic 8.1 sp4 portal.
But the admin console is showing only default authenticator(embedded LDAP.
Please help me to add other authentication providers in the console for LDAP authentication.
Any help will be regarded with high spirits.
15 years ago