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 :
- Most web services clents is php based.
- I am using jax-ws implementation as a Stateless session EJB.
- 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!