InformazioniNegoziazioneToken_DatiRichiesta.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.pdd.core.token;

  21. import java.io.Serializable;
  22. import java.util.Date;
  23. import java.util.List;
  24. import java.util.Map;

  25. /**    
  26.  * InformazioniNegoziazioneTokenSourceTransaction
  27.  *
  28.  * @author Poli Andrea (poli@link.it)
  29.  * @author $Author$
  30.  * @version $Rev$, $Date$
  31.  */
  32. public class InformazioniNegoziazioneToken_DatiRichiesta  extends org.openspcoop2.utils.beans.BaseBean implements Serializable, Cloneable {

  33.     /**
  34.      *
  35.      */
  36.     private static final long serialVersionUID = 1L;
  37.    
  38.     public InformazioniNegoziazioneToken_DatiRichiesta() {
  39.          // per serializzatore
  40.     }

  41.     private String policy;
  42.     private String transactionId;
  43.     private String grantType;
  44.     private Boolean refresh;
  45.     private String clientId;
  46.     private String clientToken;
  47.     private InformazioniJWTClientAssertion jwtClientAssertion;
  48.     private String username;
  49.     private List<String> scope;
  50.     private String audience;
  51.     private String resource;
  52.     private Map<String,String> parameters = null;
  53.     private Map<String,String> httpHeaders = null;

  54.     private String endpoint;
  55.    
  56.     private Date prepareRequest;
  57.     private Date sendRequest;
  58.     private Date receiveResponse;
  59.     private Date parseResponse;
  60.     private Date processComplete;

  61.     public String getPolicy() {
  62.         return this.policy;
  63.     }
  64.     public void setPolicy(String policy) {
  65.         this.policy = policy;
  66.     }
  67.     public String getTransactionId() {
  68.         return this.transactionId;
  69.     }
  70.     public void setTransactionId(String transactionId) {
  71.         this.transactionId = transactionId;
  72.     }
  73.     public String getGrantType() {
  74.         return this.grantType;
  75.     }
  76.     public void setGrantType(String grantType) {
  77.         this.grantType = grantType;
  78.     }
  79.     public Boolean getRefresh() {
  80.         return this.refresh;
  81.     }
  82.     public void setRefresh(Boolean refresh) {
  83.         this.refresh = refresh;
  84.     }
  85.     public String getClientId() {
  86.         return this.clientId;
  87.     }
  88.     public void setClientId(String clientId) {
  89.         this.clientId = clientId;
  90.     }
  91.     public String getClientToken() {
  92.         return this.clientToken;
  93.     }
  94.     public void setClientToken(String clientToken) {
  95.         this.clientToken = clientToken;
  96.     }
  97.     public InformazioniJWTClientAssertion getJwtClientAssertion() {
  98.         return this.jwtClientAssertion;
  99.     }
  100.     public void setJwtClientAssertion(InformazioniJWTClientAssertion jwtClientAssertion) {
  101.         this.jwtClientAssertion = jwtClientAssertion;
  102.     }
  103.     public String getUsername() {
  104.         return this.username;
  105.     }
  106.     public void setUsername(String username) {
  107.         this.username = username;
  108.     }
  109.     public List<String> getScope() {
  110.         return this.scope;
  111.     }
  112.     public void setScope(List<String> scope) {
  113.         this.scope = scope;
  114.     }
  115.     public String getAudience() {
  116.         return this.audience;
  117.     }
  118.     public void setAudience(String audience) {
  119.         this.audience = audience;
  120.     }
  121.     public String getResource() {
  122.         return this.resource;
  123.     }
  124.     public void setResource(String resource) {
  125.         this.resource = resource;
  126.     }
  127.     public Map<String, String> getParameters() {
  128.         return this.parameters;
  129.     }
  130.     public void setParameters(Map<String, String> parameters) {
  131.         this.parameters = parameters;
  132.     }
  133.     public Map<String, String> getHttpHeaders() {
  134.         return this.httpHeaders;
  135.     }
  136.     public void setHttpHeaders(Map<String, String> httpHeaders) {
  137.         this.httpHeaders = httpHeaders;
  138.     }
  139.    
  140.     public String getEndpoint() {
  141.         return this.endpoint;
  142.     }
  143.     public void setEndpoint(String endpoint) {
  144.         this.endpoint = endpoint;
  145.     }
  146.    
  147.     public Date getPrepareRequest() {
  148.         return this.prepareRequest;
  149.     }
  150.     public void setPrepareRequest(Date prepareRequest) {
  151.         this.prepareRequest = prepareRequest;
  152.     }
  153.     public Date getSendRequest() {
  154.         return this.sendRequest;
  155.     }
  156.     public void setSendRequest(Date sendRequest) {
  157.         this.sendRequest = sendRequest;
  158.     }
  159.     public Date getReceiveResponse() {
  160.         return this.receiveResponse;
  161.     }
  162.     public void setReceiveResponse(Date receiveResponse) {
  163.         this.receiveResponse = receiveResponse;
  164.     }
  165.     public Date getParseResponse() {
  166.         return this.parseResponse;
  167.     }
  168.     public void setParseResponse(Date parseResponse) {
  169.         this.parseResponse = parseResponse;
  170.     }
  171.     public Date getProcessComplete() {
  172.         return this.processComplete;
  173.     }
  174.     public void setProcessComplete(Date processComplete) {
  175.         this.processComplete = processComplete;
  176.     }
  177. }