Fabio Navarrete

Greenhorn
+ Follow
since Jan 09, 2013
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 Fabio Navarrete

Hi Jaikiran!

Thank you for your help, what was happening was that it allowed the access without any authentication. Right now I've found the solution. It's kind of weird because the change I made is not a big deal. It works with the next annotations config:

- My web.xml is now empty

- My EJB - Web Service:




With this change what I've got is that now the web service is exposed directly in a https://... URL. With the former config it was always exposed in http://... and now the authentication process is done correctly. To prevent simple http conections I removed the http connector from JBoss config (jbossweb.sar/server.xml). I would like to know if there's a better option to avoid http connections just for my application and not the whole server.

Thank you!

(btw ... I don't know if right now I should mark this topic as resolved)
11 years ago
Hi!

I've successfully configured JBoss to receive https requests with a self-signed certificate. I have a web service deployed that authenticates against my LDAP server with this application policy:



My web.xml file has the next config to enable https access:



The authentication was working without the set up for https access. When the web service is up in https mode it doesn't make any authentication process.

My EJB - web service class looks this way:



By now I need to have both of them working. I need the web service to work with https access and the authentication against my LDAP server.

Thank you for your help!
11 years ago