Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
12 changed files
with
51 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,3 +20,8 @@ | |
/dist/ | ||
/nbdist/ | ||
/.nb-gradle/ | ||
|
||
jwt-token.json | ||
jwtenizr-config.json | ||
microprofile-config.properties | ||
token.jwt |
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 @@ | ||
{"iss":"airhacks","jti":"42","sub":"duke","upn":"duke","groups":["chief","hacker"]} |
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,7 @@ | ||
|
||
{ | ||
"mpConfigIssuer": "airhacks", | ||
"mpConfigurationFolder": ".", | ||
"privateKey": "MIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQCxr5JLM1XQEoAuFwAGbUwC3/dJ0k7R0w1bfF6L3odBcEfOopVhCVszC/rrZDzoOfFSBu06xxtBG0DE0ZRL5j092ldvsqMVijIG5DXq6SihA4SlM2/Flybj9K7te409QUSchmiqyiQQswNJ9B4jvFssve3eQ4WfBIa+s/8sRnDCpdvbaUVKWyXYRQo2p9GkmU2LAuQsb/xe+iIub9bw1cQ6JV11BhhQYzANM1F5d0dwGwzabXz6PZ5wFq3OpqOrdSoGwrhqB0nSaQtIDYc4uoq70cO0bv/DSPVkQyiuS4OTg+VqllpiKGoe7kzjcS1JF9Oy5bPJF2vcIac+0Fz7qaHbAgMBAAECggEAHo7qYwJ+JJ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D4z06ywrHnw3Ri7IYpB5C0J8EQ6Bz7Bti7av6mXQDNZYFVxiM/70Jg/nWDznamTQ+KafkV8Umv+SLCtbnFCLCvFZLnSDhieeONfBUEaMpqM9wvneZBsLuovqgVCPiab+Ag=", | ||
"publicKey": "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAsa+SSzNV0BKALhcABm1MAt/3SdJO0dMNW3xei96HQXBHzqKVYQlbMwv662Q86DnxUgbtOscbQRtAxNGUS+Y9PdpXb7KjFYoyBuQ16ukooQOEpTNvxZcm4/Su7XuNPUFEnIZoqsokELMDSfQeI7xbLL3t3kOFnwSGvrP/LEZwwqXb22lFSlsl2EUKNqfRpJlNiwLkLG/8XvoiLm/W8NXEOiVddQYYUGMwDTNReXdHcBsM2m18+j2ecBatzqajq3UqBsK4agdJ0mkLSA2HOLqKu9HDtG7/w0j1ZEMorkuDk4PlapZaYihqHu5M43EtSRfTsuWzyRdr3CGnPtBc+6mh2wIDAQAB" | ||
} |
Binary file not shown.
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,4 @@ | ||
#generated by jwtenizr | ||
#Sat Aug 10 09:28:01 CEST 2019 | ||
mp.jwt.verify.publickey=MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAsa+SSzNV0BKALhcABm1MAt/3SdJO0dMNW3xei96HQXBHzqKVYQlbMwv662Q86DnxUgbtOscbQRtAxNGUS+Y9PdpXb7KjFYoyBuQ16ukooQOEpTNvxZcm4/Su7XuNPUFEnIZoqsokELMDSfQeI7xbLL3t3kOFnwSGvrP/LEZwwqXb22lFSlsl2EUKNqfRpJlNiwLkLG/8XvoiLm/W8NXEOiVddQYYUGMwDTNReXdHcBsM2m18+j2ecBatzqajq3UqBsK4agdJ0mkLSA2HOLqKu9HDtG7/w0j1ZEMorkuDk4PlapZaYihqHu5M43EtSRfTsuWzyRdr3CGnPtBc+6mh2wIDAQAB | ||
mp.jwt.verify.issuer=airhacks |
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,14 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<server description="new server"> | ||
|
||
<featureManager> | ||
<feature>microProfile-3.0</feature> | ||
</featureManager> | ||
|
||
<mpMetrics authentication="false"/> | ||
|
||
<ssl id="defaultSSLConfig" keyStoreRef="defaultKeyStore" trustStoreRef="jdkTrustStore" /> | ||
<keyStore id="jdkTrustStore" location="${java.home}/lib/security/cacerts" password="changeit" /> | ||
|
||
<httpEndpoint id="defaultHttpEndpoint" httpPort="9080" httpsPort="9443"/> | ||
</server> |
4 changes: 4 additions & 0 deletions
4
microprofile-jwt-auth/src/main/java/de/rieckpil/udemy/BookResource.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,4 @@ | ||
package de.rieckpil.udemy; | ||
|
||
public class BookResource { | ||
} |
4 changes: 4 additions & 0 deletions
4
microprofile-jwt-auth/src/main/java/de/rieckpil/udemy/JAXRSConfiguration.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,4 @@ | ||
package de.rieckpil.udemy; | ||
|
||
public class JAXRSConfiguration { | ||
} |
4 changes: 4 additions & 0 deletions
4
microprofile-jwt-auth/src/main/java/de/rieckpil/udemy/OrderResources.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,4 @@ | ||
package de.rieckpil.udemy; | ||
|
||
public class OrderResources { | ||
} |
Empty file.
7 changes: 7 additions & 0 deletions
7
microprofile-jwt-auth/src/main/webapp/WEB-INF/ibm-web-ext.xml
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,7 @@ | ||
<web-ext | ||
xmlns="http://websphere.ibm.com/xml/ns/javaee" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://websphere.ibm.com/xml/ns/javaee http://websphere.ibm.com/xml/ns/javaee/ibm-web-ext_1_0.xsd" | ||
version="1.0"> | ||
<context-root uri="/"/> | ||
</web-ext> |
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 @@ | ||
eyJraWQiOiJqd3Qua2V5IiwidHlwIjoiSldUIiwiYWxnIjoiUlMyNTYifQ.eyJzdWIiOiJkdWtlIiwidXBuIjoiZHVrZSIsImF1dGhfdGltZSI6MTU2NTQyMjA4MSwiaXNzIjoiYWlyaGFja3MiLCJncm91cHMiOlsiY2hpZWYiLCJoYWNrZXIiXSwiZXhwIjoxNTY1NDIzMDgxLCJpYXQiOjE1NjU0MjIwODEsImp0aSI6IjQyIn0.DVuBk5kNlrjZiIDeAD6ExVM5KS1oq_-JqZ_3L9nN_j2CUqJMxLeHTbS1vzfyK-PhhL0U8KUKrwpmh65Vu2lxdEkRGxHE7UWJgQxW8rPOSMU3vuZhTDQbQ-PO5N81RJ9-PC8PF7LMBGSE-uHEHX03pOy-ou03XmtJqSjCCWWoGsWAxd6f29sPL-5pkH_sGHzWYwvyEl5VnyiOV52hduucqV9_Ss8-yJf3ML4OedGvTGRT3UMSReJt1KEfp3zKrnV_SVJaXJ5pHnn2rWUoGhl9vSL2mWsbY3NHo8LEHl_JnqFzljy2D5TQQj2aInVHVsmWFtc6krlIBQi9vwwILyAB4w |