本文发表在 rolia.net 枫下论坛as for web services, saop,wsdl,uddi are the three elements which we should know.
SOAP is XML + HTTP or smtp...
If you want to directly send or receive SOAP messages, threre are related APIs according to platform ,for instance, java.net.HttpConnection...... under J2EE.
In your SOAP message you can add a auth_token... and the token is used to authenticate with data in presistence layer.
if you want to use webservices,essentially It's the same as mentioned above ,but you should use WSDL to specify your RPC, you can add something like token. if you want to sign in once,you can use session. but there are many different solutions on different platforms, for example,weblogic has it's own security realm which support a sign-in-once mechinism. of course, session should be enabled.
if you want to authorize under J2EE, there are deployable xml file on web layer and EJB layer ,you can set related permission...
In my opinon,athentication ,athorization is platform-related,
choose platform and discuss the details.....更多精彩文章及讨论,请光临枫下论坛 rolia.net
SOAP is XML + HTTP or smtp...
If you want to directly send or receive SOAP messages, threre are related APIs according to platform ,for instance, java.net.HttpConnection...... under J2EE.
In your SOAP message you can add a auth_token... and the token is used to authenticate with data in presistence layer.
if you want to use webservices,essentially It's the same as mentioned above ,but you should use WSDL to specify your RPC, you can add something like token. if you want to sign in once,you can use session. but there are many different solutions on different platforms, for example,weblogic has it's own security realm which support a sign-in-once mechinism. of course, session should be enabled.
if you want to authorize under J2EE, there are deployable xml file on web layer and EJB layer ,you can set related permission...
In my opinon,athentication ,athorization is platform-related,
choose platform and discuss the details.....更多精彩文章及讨论,请光临枫下论坛 rolia.net