Kushagra Bindal

Ranch Hand
+ Follow
since Oct 15, 2008
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Kushagra Bindal

Hi All,

I am using maven2. And in my pom.xml file I am using org.codehaus.mojo to build jboss sar for me. But now I am getting build error as it mentioned that it is unable to find it.


Could you please advise me the possible way to create sar file with maven2. Also please let me know if org.codehaus.mojo works for me or not. As whenever I am googling for jboss sar plugin I am getting first option as org.codehaus.mojo.


Thanks in Advance
11 years ago
Hi All,

Can anyone tell me when there is a schedule date for the launch of Head First Series of EJB3.0? I am eagerly waiting for that book from last 2 years since I have cleared my SCWCD5.

If there is no such updates on this then I would like to request Kathy that please try to give some time for this project as well and then please let us know the tentative date of the new book.

Thanks
Kushagra
SCJP1.5, SCWCD5
Hi

This can be anything means like a ISBN no of the publishing book and credit card number of the bank or anything else. In both cases when the user need to login into the system for a particular ISBN/Credit Card then client requirement is to put that in encrypted format in the database and decrypt the same when user need to login into the system to check it and after that to show the same on the application as well.

Thanks
Kushagra
13 years ago
Hi All,

I want an algorithm that can encrypt my username while they are inserting first into database and later on when I want to show the username in the application after being login in the application through that username itself. As user will enter the decrypted form of the username. Password encryption we are already using in our application but this is a single way process as we are not showing that anywhere else so once it was inserted into the application first then only I encrypted that. And I want a different approach for username as I need to use that both in login process and to show the same in application as well.

So, please suggest me the best possible algorithm that can be used in thsi context and without compromising on the security issue.

Thanks
Kushagra Bindal
13 years ago
Hi All,

I am currently setting HTTPOnly to make the cookies secure using following code.



I have referred following URL for this.

OWASP

But while doing so each time it is creating a new sessionID. So, by means of that old session value got vanished.

Please do let me know what should be the possible solution of this problem.

Waiting for prompt reply.

Thanks
Kushagra Bindal
13 years ago
Hi,

I have already go through all the above link that you have given. I had very important assignment that I need to submit yesterday itself and thats why I was in little hurry. Anyways thanks for your reply. I have go through them this is the specification provided by Sun to developed the smart card functionality. But what I want is like Struts or other open source is there any such type of framework with the help of which it will become easy for uss to generate such application.


Thanks
Kushagra Bindal
13 years ago
Hi All,

please let me know whether there is any framework for smart card based application.

Thanks
Kushagra Bindal
13 years ago
Hi All,

I want to create an application for smaart card. For that I need some bassic framework. Please do let me know if there is any framework/API that is already there with the help of which I can create my application.

Thanks in advance for the helpe!!!

Thanks
Kushagra Bindal
13 years ago
I am getting this error while converting from html to PDF through Open Office:

com.sun.star.task.ErrorCodeIOException:
at com.sun.star.lib.uno.environments.remote.Job.remoteUnoRequestRaisedException(Job.java:182)
at com.sun.star.lib.uno.environments.remote.Job.execute(Job.java:148)
at com.sun.star.lib.uno.environments.remote.JobQueue.enter(JobQueue.java:344)
at com.sun.star.lib.uno.environments.remote.JobQueue.enter(JobQueue.java:313)
at com.sun.star.lib.uno.environments.remote.JavaThreadPool.enter(JavaThreadPool.java:101)
at com.sun.star.lib.uno.bridges.java_remote.java_remote_bridge.sendRequest(java_remote_bridge.java:652)
at com.sun.star.lib.uno.bridges.java_remote.ProxyFactory$Handler.request(ProxyFactory.java:154)
at com.sun.star.lib.uno.bridges.java_remote.ProxyFactory$Handler.invoke(ProxyFactory.java:136)
at $Proxy105.storeToURL(Unknown Source)
at com.pearson.pdrm.util.OOServiceImpl.convertToPDF(OOServiceImpl.java:228)
at com.pearson.pdrm.util.OOServiceImpl.convertFileToPDF(OOServiceImpl.java:101)
at com.pearson.pdrm.util.OOServiceImpl.convertToPDF(OOServiceImpl.java:48)
at sun.reflect.GeneratedMethodAccessor391.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.codehaus.xfire.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:59)
at org.codehaus.xfire.service.invoker.ObjectInvoker.invoke(ObjectInvoker.java:45)
at org.codehaus.xfire.service.binding.ServiceInvocationHandler.sendMessage(ServiceInvocationHandler.java:320)
at org.codehaus.xfire.service.binding.ServiceInvocationHandler$1.run(ServiceInvocationHandler.java:86)
at org.codehaus.xfire.service.binding.ServiceInvocationHandler.execute(ServiceInvocationHandler.java:134)
at org.codehaus.xfire.service.binding.ServiceInvocationHandler.invoke(ServiceInvocationHandler.java:109)
at org.codehaus.xfire.handler.HandlerPipeline.invoke(HandlerPipeline.java:131)
at org.codehaus.xfire.transport.DefaultEndpoint.onReceive(DefaultEndpoint.java:64)
at org.codehaus.xfire.transport.AbstractChannel.receive(AbstractChannel.java:38)
at org.codehaus.xfire.transport.http.XFireServletController.invoke(XFireServletController.java:304)
at org.codehaus.xfire.transport.http.XFireServletController.doService(XFireServletController.java:129)
at org.codehaus.xfire.transport.http.XFireServlet.doPost(XFireServlet.java:116)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:159)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:307)
at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:385)
at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:748)
at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:678)
at org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:871)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:595)

The problem is that most of the times the conversions takes place successfully but only sometimes this error occurs. The filter that we have used here in conversion is writer_pdf_Export. Every time it gives an error at storeToURL method.
Anyone has any idea please let me know ASAP.

Thanks,
Kushagra
14 years ago
Thanks for all your reply.

But I am having lots of data in my session. And I am using JSF,facelets so lots of data are assign to the user session.

Also, there are so many user accessing the application at a time.
Please suggest me the way to proceed as I am still not able to solve the problem. My main aim is to detect when user click on close button. Please suggest me if is there a way to proceed.
I think there should be a way to catch the event of close button hit use by Browser internally. If it will be possible we can catch the event or any particular ID of close button, then I think it become very easy to resolve this problem.

Please help if possible.

Thanks
Kushagra Bindal
I am maintaing a very heavy application. And number of users are also high. Thats why in general scenario it should remove the session after user click on the close button.
Thats why I am trying to implement the same.
Actually I want to remove the session on the close event of the browser.
And this is possible only when if I am able to trap the close button(X) event.
As of now I am able to trap only the mouse movement.

Thanks
Kushagra Bindal
Hi All,

I want to check with the help of JavaScript that 'X'(close) button of the browser is click specifically for IE browser. How can we determine the same with the help of javaScript.

Is there a way to solve the issue. Please help if having some solution for the same.

Thanks
Kushagra Bindal
Thanks All for the help. I have resolve the problem.

But I am having one more issue. How to detect tab of the IE7 browser is close. Please suggest.

Thanks
Kushagra Bindal
14 years ago
JSF
Is there a way to detect the close(X) button click on the IE7 browser.

Please help if have any solution on the same.

Thanks
Kushagra Bindal
14 years ago
JSF