MessageSecurityContextParameters.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.security.message;

  21. import org.slf4j.Logger;
  22. import org.openspcoop2.core.id.IDServizio;
  23. import org.openspcoop2.core.id.IDSoggetto;

  24. /**
  25.  * MessageSecurityContextParameters
  26.  *
  27.  * @author Andrea Poli (apoli@link.it)
  28.  * @author $Author$
  29.  * @version $Rev$, $Date$
  30.  */
  31. public class MessageSecurityContextParameters {

  32.     private boolean useActorDefaultIfNotDefined;
  33.     private String actorDefault;
  34.     private Logger log;
  35.     private boolean functionAsClient;
  36.     private String prefixWsuId;
  37.     private boolean removeAllWsuIdRef;
  38.    
  39.     private IDSoggetto idFruitore;
  40.     private String pddFruitore;
  41.    
  42.     private IDServizio idServizio;
  43.     private String pddErogatore;
  44.        
  45.     public boolean isUseActorDefaultIfNotDefined() {
  46.         return this.useActorDefaultIfNotDefined;
  47.     }
  48.     public void setUseActorDefaultIfNotDefined(boolean useActorDefaultIfNotDefined) {
  49.         this.useActorDefaultIfNotDefined = useActorDefaultIfNotDefined;
  50.     }
  51.     public String getActorDefault() {
  52.         return this.actorDefault;
  53.     }
  54.     public void setActorDefault(String actorDefault) {
  55.         this.actorDefault = actorDefault;
  56.     }
  57.     public Logger getLog() {
  58.         return this.log;
  59.     }
  60.     public void setLog(Logger log) {
  61.         this.log = log;
  62.     }
  63.     public boolean isFunctionAsClient() {
  64.         return this.functionAsClient;
  65.     }
  66.     public void setFunctionAsClient(boolean functionAsClient) {
  67.         this.functionAsClient = functionAsClient;
  68.     }
  69.     public String getPrefixWsuId() {
  70.         return this.prefixWsuId;
  71.     }
  72.     public void setPrefixWsuId(String prefixWsuId) {
  73.         this.prefixWsuId = prefixWsuId;
  74.     }
  75.     public boolean isRemoveAllWsuIdRef() {
  76.         return this.removeAllWsuIdRef;
  77.     }
  78.     public void setRemoveAllWsuIdRef(boolean removeAllWsuIdRef) {
  79.         this.removeAllWsuIdRef = removeAllWsuIdRef;
  80.     }
  81.     public IDSoggetto getIdFruitore() {
  82.         return this.idFruitore;
  83.     }
  84.     public void setIdFruitore(IDSoggetto idFruitore) {
  85.         this.idFruitore = idFruitore;
  86.     }
  87.     public IDServizio getIdServizio() {
  88.         return this.idServizio;
  89.     }
  90.     public void setIdServizio(IDServizio idServizio) {
  91.         this.idServizio = idServizio;
  92.     }
  93.     public String getPddErogatore() {
  94.         return this.pddErogatore;
  95.     }
  96.     public void setPddErogatore(String pddErogatore) {
  97.         this.pddErogatore = pddErogatore;
  98.     }
  99.     public String getPddFruitore() {
  100.         return this.pddFruitore;
  101.     }
  102.     public void setPddFruitore(String pddFruitore) {
  103.         this.pddFruitore = pddFruitore;
  104.     }
  105.    
  106. }