aspose file tools*
The moose likes Security and the fly likes Trust Strategy Question Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Security
Bookmark "Trust Strategy Question" Watch "Trust Strategy Question" New topic
Author

Trust Strategy Question

Joe Harry
Ranch Hand

Joined: Sep 26, 2006
Posts: 9622
    
    2

I have a HTTPS url that I would like to call from my Apache HTTP Client. When I tried it with the following piece of code, it failed with the exception as below:





Later, I added the following and gave the connManager to my DefaultHttpClient constructor:



My question is with the above Strategy, am I bypassing any security? I'm overriding isTrusted and simply returning true. Is that advisable?


SCJP 1.4, SCWCD 1.4 - Hints for you, Certified Scrum Master
Did a rm -R / to find out that I lost my entire Linux installation!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Trust Strategy Question