french english

RSS 1.0 
 
 Login 
 Password 
 Créer un compte 
 
02-05-09 / 17:06 : CP2JavaWS 0.6 dispo : custom digest authentication (cjed)
Une nouvelle version (0.6) du bridge CP2JavaWS est disponible sur Sourceforge. Elle inclut les nouvelles fonctionalités suivantes :
- added a mode for custom (Cappuccino based) digest authentication dialog (previous version client-side digest authentication and dialog were managed by the browser only). The mode is setted on the server-side authentication filter configuration (browserMode parameter in the web.xml - set it to false for custom dialog).
- a default Cappuccino authentication dialog is provided (CP2JavaWS client code also manages transparently digest authorization request creation, cnonce and and nonce counter, and sending of original request when authentication successes). That dialog also shows the endpoint's url (we could use a composite app that makes calls to various enpoints/different webapps on the same domain - same protocol, host and port -, and then have multiple authentication challenges).
- a custom CPWindowsController can be set when creating an endpoint to use another window. It has to implement the initWithTarget:(id) okAction:(SEL) cancelAction:(SEL) method (see the provided CP2JavaWSLoginWindowController).

- passing sameDomain information isn't required anymore when creating an endpoint. CP2JavaWS compares the passed endpoint url with the index.html document.location (protocol, host and port) to determine the proper mode. However the sameDomain parameter can still be passed if needed (required if the index.html is local - for dev configuration).
Commentaires
Poster un commentaire 
  
    
  image de securisation du formulaire


  
      (sera ajouté après validation)