File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Web Services Certification (SCDJWS/OCPJWSD) and the fly likes Authentification Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Professional Certification » Web Services Certification (SCDJWS/OCPJWSD)
Reply Bookmark "Authentification" Watch "Authentification" New topic
Author

Authentification

Johannes Postma
Ranch Hand

Joined: Jan 22, 2002
Posts: 51
How does a client know which authenticate mechanism a web service has? E.g. Basic or Client-Certificate. This information is not included in a wsdl-file.


Johannes<br /> <br />SCJP, SCJD, SCWCD, SCDJWS, SCEA, ICSA (IBM 340)
Ajith Kallambella
Sheriff

Joined: Mar 17, 2000
Posts: 5781
WS security really builds on top of existing specifications. There is transport level security( such as SSL ), payload security (such as XML encryption and digital signatures), and security features provided by the platform it self. It is not uncommon to find all of these being used in combination rather than exclusively, to secure a WS.

In the J2EE/Webservices world, since WS endpoint is exposed as a JAX-RPC Servlet or a SLSB, some of the aunthentication mechanisms already provided by the J2EE platform can be extended and applied for WS authentication. A Servlet based end point an use the same methods/procedures as any normal servlet ie., configuring the Web.xml to use appropriate authentication methods. A SLSB end point can use Principal and UserRole to investigate propagated credentials.

HTH
[ April 19, 2005: Message edited by: Ajith Kallambella ]

Open Group Certified Master IT Architect.
Sun Certified Architect(SCEA).
 
 
subject: Authentification
 
Threads others viewed
Printing contents
database connection
html code to webpage
what exception will be thrown CMT?
Print invoice - JSP
IntelliJ Java IDE