forked from aws/serverless-java-container
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: support client cert properties (aws#469)
- Loading branch information
Showing
3 changed files
with
183 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
84 changes: 84 additions & 0 deletions
84
...iner-core/src/main/java/com/amazonaws/serverless/proxy/model/HttpApiV2Authentication.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,84 @@ | ||
package com.amazonaws.serverless.proxy.model; | ||
|
||
public class HttpApiV2Authentication { | ||
private ClientCert clientCert; | ||
|
||
public ClientCert getClientCert() { | ||
return clientCert; | ||
} | ||
|
||
public void setClientCert(ClientCert clientCert) { | ||
this.clientCert = clientCert; | ||
} | ||
|
||
public static class ClientCert { | ||
|
||
private String clientCertPem; | ||
private String issuerDN; | ||
private String serialNumber; | ||
private String subjectDN; | ||
private Validity validity; | ||
|
||
public String getClientCertPem() { | ||
return clientCertPem; | ||
} | ||
|
||
public void setClientCertPem(String clientCertPem) { | ||
this.clientCertPem = clientCertPem; | ||
} | ||
|
||
public String getIssuerDN() { | ||
return issuerDN; | ||
} | ||
|
||
public void setIssuerDN(String issuerDN) { | ||
this.issuerDN = issuerDN; | ||
} | ||
|
||
public String getSerialNumber() { | ||
return serialNumber; | ||
} | ||
|
||
public void setSerialNumber(String serialNumber) { | ||
this.serialNumber = serialNumber; | ||
} | ||
|
||
public String getSubjectDN() { | ||
return subjectDN; | ||
} | ||
|
||
public void setSubjectDN(String subjectDN) { | ||
this.subjectDN = subjectDN; | ||
} | ||
|
||
public Validity getValidity() { | ||
return validity; | ||
} | ||
|
||
public void setValidity(Validity validity) { | ||
this.validity = validity; | ||
} | ||
|
||
public static class Validity { | ||
|
||
private String notAfter; | ||
private String notBefore; | ||
|
||
public String getNotAfter() { | ||
return notAfter; | ||
} | ||
|
||
public void setNotAfter(String notAfter) { | ||
this.notAfter = notAfter; | ||
} | ||
|
||
public String getNotBefore() { | ||
return notBefore; | ||
} | ||
|
||
public void setNotBefore(String notBefore) { | ||
this.notBefore = notBefore; | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters