Martin Lira

Ranch Hand
+ Follow
since May 26, 2004
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
1
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 Martin Lira

Hi,
Does anyone know of issues working with different versions of castor. For e.g one system is using Castor 0.9.5.3 to marshal/unmarshal but other system is using Castor 1.1.2.1. Same XML schema is used to build castor classes by both systems.


Thanks
ML
Hi,
I am trying to prevent replay attack in my web application. Here is problem, user logs out from session on shared computer but leaves browser open. Hacker clicks back on browser and hits refresh button. As a result, the authentication credentials are re-submitted and hacker is logged in. Is there anything in J2EE security that can prevent this from happening.

Thanks
ML
16 years ago
JSP
Hello Guys,
I need to create a method that determines if certain characters like


Which of this two ways is better in performance? Or is there any better way?


Thanks
Martin
[ April 03, 2006: Message edited by: Martin Lira ]
18 years ago
Hi guys,
I have a web service deployed on WebSphere App Server. The web service has enabled security by Basic Auth.

Server side:
LoginConfig = Basic Auth
LoginMapping = Basic Auth, Config Name = WSLogin,
Callback Handler = com.ibm.wsspi.wssecurity.auth.callback.WSCallbackHandlerFactoryImpl

Java Client side:
LoginConfig=Basic Auth
LoginBinding= BasicAuth
Callback Handler = com.ibm.wsspi.wssecurity.auth.callback.NonPromptCallbackHandler
user and password have been specified.

Server specs:
Custom registry, SWAM, created new ServerKey and ServerTrust files.

When i invoke client get exception:
WSEC5075E: No security token found which satisfies any one of AuthMethods.

Same error comes from a dot net client.

Environment:
WSAD 5.1.0
Server is IBM WebSphere Application Server Version 5.0.2
Windows 2000

Please let me know why I am getting that error.

Thanks
ML
18 years ago
I am using sybase jdbc driver jconnect. The stored proc code cannot be modified to use PRINT.
Guys anybody has idea about this. I am having same problem.
Did anyone imagine firefox to be where it is today? Grokker might be another firefox........
[ October 20, 2005: Message edited by: Martin Lira ]
18 years ago
I guess grokker is trying to add some sleaze into the "boring" search engine industry. By going visual they are trading off speed.


ML
18 years ago
Guys
Heard of grokker.com?? Looks like Google's gonna face what it feared the most. Grokker is a gr8 visual search site with ties with Yahoo. We all know how "friendly" Google and Yahoo are.

So will mighty Google crumble... Will this David be Goliaths end...


~ML
18 years ago
Hi Guys,
Does anybody have information on what special characters can be used in the WebSphere Session ID? I know for sure '-' and '_'.


ML;
18 years ago
I found that this error has also occured while using a MS SQL server JDBC driver and not just the IBM embedded driver.

[Microsoft][SQLServer 2000 Driver for JDBC]Unhandled token type: Unknown
token: 0x00
Looks like gurus have never had this issue....


Thanks
Martin
Guys,
I am using a connection pool (DataSource built in Websphere studio)to connect to SQLServer.
My JDBC provider is WebSphere embedded ConnectJDBC driver for MS SQL Server
On one select method that returns around 20000 rows it has started giving me this exception.
[IBM][SQLServer JDBC Driver]Unhandled token type: Unknown token: 0x2f

I never used to get this exception before with the same amount of rows being returned (20K should not be a large no i guess)

If I try to use the same DataSource after this error in some other method I get this exception
[IBM][SQLServer JDBC Driver]Request cannot be submitted due to wire contention.

Thanks,
ML
Guys,
I am looking for some jdbc transaction mechanism. I dont want to user JTA.
Here is my problem:
I need to make two inserts into two different tables.



I need to execute both inserts in same transaction. If the first is ok but second fails then the first insert must roll back.
Is there any way in jdbc you can control the transaction and roll back?

Thanks!
Martin
Hi,
Can the same problem not occur if you go with the socket route. if the app crashes it wont release the socket. So next time it runs the socket is still alive and wont let the app to start.


~ML
19 years ago