VNP Login Webservices - Public login

WS publicLogin.jsp

publicLogin.jsp allows to land a user already logged in to the VPN

This procedure allows to have a user enabled to read via Whitelist who lands on the VNP already logged in:

1. Create a user (CLIENTI/CUSTOMERS module)

2. Add the user to the Whitelist (WHITELIST module)

3. The user must land on VNP with the following URL:
https://DOMAIN/VNP/webservice/publicLogin.jsp?parameters

e.g.
https://edicola.laprovinciapavese.it/provinciapavese/webservice/publicLogin.jsp?timestamp=123&authCode=dcadf16b651ff&identifier=29839&redirectionUrl=https://newsstand

L'URL is composed by:

  • *baseURL : https://DOMAIN/VNP/webservice/publicLogin.jsp
  • *timestamp :  // Timestamp older than 10' minuti will be refused
  • *authCode : md5 of (timestamp+privateKeyWS) without +
  • *identifier : VNP id of the user
  • redirectionUrl : landing URL of the user. If wissing the user will land on newsstan's main pag

* = mandatory