EsitoAutorizzazioneRegistro.java

  1. /*
  2.  * GovWay - A customizable API Gateway
  3.  * https://govway.org
  4.  *
  5.  * Copyright (c) 2005-2025 Link.it srl (https://link.it).
  6.  *
  7.  * This program is free software: you can redistribute it and/or modify
  8.  * it under the terms of the GNU General Public License version 3, as published by
  9.  * the Free Software Foundation.
  10.  *
  11.  * This program is distributed in the hope that it will be useful,
  12.  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  13.  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  14.  * GNU General Public License for more details.
  15.  *
  16.  * You should have received a copy of the GNU General Public License
  17.  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  18.  *
  19.  */



  20. package org.openspcoop2.protocol.registry;

  21. /**
  22.  * Esito di un processo di autorizzazione.
  23.  *
  24.  * @author Andrea Poli (apoli@link.it)
  25.  * @author $Author$
  26.  * @version $Rev$, $Date$
  27.  */
  28. public class EsitoAutorizzazioneRegistro implements java.io.Serializable {

  29.    

  30.     /**
  31.      *
  32.      */
  33.     private static final long serialVersionUID = 1L;

  34.     /** Indicazione se il servizio e' autorizzato */
  35.     private boolean servizioAutorizzato;
  36.    
  37.     /** Messaggio di errore */
  38.     private String details;
  39.    
  40.     public String getDetails() {
  41.         return this.details;
  42.     }

  43.     public void setDetails(String details) {
  44.         this.details = details;
  45.     }

  46.     /**
  47.      * Ritorna l'indicazione se il servizio e' autorizzato
  48.      *
  49.      * @return indicazione se il servizio e' autorizzato
  50.      */
  51.     public boolean isServizioAutorizzato() {
  52.         return this.servizioAutorizzato;
  53.     }
  54.    
  55.     /**
  56.      * Imposta l'indicazione se il servizio e' autorizzato
  57.      *
  58.      * @param servizioAutorizzato indicazione se il servizio e' autorizzato
  59.      */
  60.     public void setServizioAutorizzato(boolean servizioAutorizzato) {
  61.         this.servizioAutorizzato = servizioAutorizzato;
  62.     }
  63.    

  64. }