What is the best prctice for using security in JAX-WS

Posted by kislo_metal on Stack Overflow See other posts from Stack Overflow or by kislo_metal
Published on 2010-05-05T19:06:30Z Indexed on 2010/05/05 23:38 UTC
Read the original article Hit count: 268

Filed under:
|
|
|
|

Here is scenario : I have some web services (JAX-WS) that need to be secured. Currently for authentication needs I providing addition SecurityWService that give authorized user some userid & sessionid that is need to be described in request to other services.

It would be more better to use some java security. We have many of them but could not defined what is better to use.

Q1 : It is understand that I should use SSL in transport layer, but what should I use for user authorization. Is there is better way to establishing session, validating user etc. ?

Here is some key description :

  1. Most web services clents is php based.
  2. I am using jax-ws implementation as a Stateless session EJB.
  3. Deploying to glassfish v3.

Q2: what is the best framework / technology for user authorization / authentication in case of using JSF 2.0 and ejb3.1 technologies ( Realms? WSIT? )?

Thank You!

© Stack Overflow or respective owner

Related posts about jax-ws

Related posts about ejb3