The VOMS Java API v. 3.0 Andrea Ceccanti (INFN) Fifth EMI All-Hands Meeting Budapest, Oct. 29th 2012 EMI is par*ally funded by the European Commission under Grant Agreement RI-­‐261611 martedì 30 ottobre 12 VOMS Java API 3.0 • Completely refactored version of the Java APIs based on CANL • Breaks backward-­‐compatibility ‣ but an adapter is provided which covers the most common validation use cases • Improvements: ‣ Clearer interface ‣ Better documentation ‣ Improved error reporting 5th EMI All-Hands meeting, Budapest martedì 30 ottobre 12 2 EMI INFSO-­‐RI-­‐261611 ‣ Improved thread-­‐safety Java APIs Github home • Website: ‣ http://italiangrid.github.com/voms-­‐api-­‐java/ • Code: ‣ https://github.com/italiangrid/voms-­‐api-­‐java 5th EMI All-Hands meeting, Budapest martedì 30 ottobre 12 3 EMI INFSO-­‐RI-­‐261611 ‣ Development Branch: 3.x Main changes SLF4j is used for logging • Adapt your logging backend configuration if you don’t already use slf4j ‣ https://github.com/italiangrid/voms-­‐api-­‐java#configure-­‐logging The packages to import have changed • org.glite.voms -­‐> org.italiangrid.voms • • • • VOMSAttribute VOMSACValidator VOMSACRequest VOMSACService 5th EMI All-Hands meeting, Budapest martedì 30 ottobre 12 4 EMI INFSO-­‐RI-­‐261611 All functionality is now exposed through interfaces VOMS AC validaRon 5th EMI All-Hands meeting, Budapest martedì 30 ottobre 12 5 EMI INFSO-­‐RI-­‐261611 https://github.com/italiangrid/voms-­‐api-­‐java#validation VOMS AC request 5th EMI All-Hands meeting, Budapest martedì 30 ottobre 12 6 EMI INFSO-­‐RI-­‐261611 https://github.com/italiangrid/voms-­‐api-­‐java#creating-­‐a-­‐ voms-­‐proxy MigraRon recommendaRons 5th EMI All-Hands meeting, Budapest martedì 30 ottobre 12 7 EMI INFSO-­‐RI-­‐261611 https://github.com/italiangrid/voms-­‐api-­‐java#migration-­‐ workflow