Filter Name: dumpFilters FilterClass: pk.training.basit.SpringAuthorizationServerApplication$DumpFilters
Filter Name: characterEncodingFilter FilterClass: org.springframework.boot.web.servlet.filter.OrderedCharacterEncodingFilter
Filter Name: webMvcMetricsFilter FilterClass: org.springframework.boot.actuate.metrics.web.servlet.WebMvcMetricsFilter
Filter Name: formContentFilter FilterClass: org.springframework.boot.web.servlet.filter.OrderedFormContentFilter
Filter Name: requestContextFilter FilterClass: org.springframework.boot.web.servlet.filter.OrderedRequestContextFilter
Filter Name: springSecurityFilterChain FilterClass: org.springframework.boot.web.servlet.DelegatingFilterProxyRegistrationBean$1
Ant [pattern='/webjars/**']
This file contains hidden or 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
package com.example.composedtruststores; | |
import java.io.FileInputStream; | |
import java.io.FileNotFoundException; | |
import java.io.IOException; | |
import java.security.KeyManagementException; | |
import java.security.KeyStore; | |
import java.security.KeyStoreException; | |
import java.security.NoSuchAlgorithmException; | |
import java.security.cert.CertificateException; |
This file contains hidden or 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
import java.security.KeyStore; | |
import java.security.cert.X509Certificate; | |
import javax.net.ssl.TrustManager; | |
import javax.net.ssl.TrustManagerFactory; | |
import javax.net.ssl.X509TrustManager; | |
TrustManagerFactory tmf = TrustManagerFactory.getInstance(TrustManagerFactory.getDefaultAlgorithm()); | |
tmf.init((KeyStore) null); |
This file contains hidden or 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
logging.level.org.springframework.beans.factory.support.DefaultListableBeanFactory = DEBUG |
This file contains hidden or 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
@Bean | |
public SecurityFilterChain defaultSecurityFilterChain(HttpSecurity http) throws Exception { | |
LOGGER.debug("in configure HttpSecurity"); | |
// Return HttpStatus.UNAUTHORIZED (401) to SPAs. | |
http.exceptionHandling(eh -> | |
eh.authenticationEntryPoint(new HttpStatusEntryPoint(HttpStatus.UNAUTHORIZED))); | |
// ... | |
http.formLogin(fl -> | |
fl | |
.successHandler((req, res, auth) -> res.setStatus(HttpStatus.OK.value())) |
This file contains hidden or 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
npm list -g --depth 0 | |
This file contains hidden or 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
org.springframework.boot | |
spring-boot-autoconfigure | |
2.7.3 | |
spring-boot-autoconfigure-2.7.3.jar | |
org\springframework\boot\autoconfigure\security\oauth2\ | |
Client: | |
org.springframework.boot.autoconfigure.security.oauth2.client.servlet.OAuth2ClientAutoConfiguration | |
This file contains hidden or 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
def append(String s) { | |
println "Appending: ${s}" | |
} | |
def closure = { | |
println owner | |
println delegate | |
append 'Hello' | |
append 'World' | |
} |
This file contains hidden or 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
kubectl get pod -A -o="custom-columns=NAME:.metadata.name,INIT-CONTAINERS:.spec.initContainers[*].name,IMAGE:.spec.initContainers[*].image,CONTAINERS:.spec.containers[*].name,IMAGE:.spec.containers[*].image" | |
kubectl get pod -o="custom-columns=NAME:.metadata.name,CONTAINERS:.spec.containers[*].name,IMAGE:.spec.containers[*].image" | |
kubectl get pod -o="custom-columns=NAME:.metadata.name,INIT-CONTAINERS:.spec.initContainers[*].name,IMAGE:.spec.initContainers[*].image,CONTAINERS:.spec.containers[*].name,IMAGE:.spec.containers[*].image" | |
kubectl run -i --tty --rm debug --image=gcr.io/otl-eng-cs-ia/busybox:latest --restart=Never -- sh | |
kubectl get ingress ingress-infoarchive --no-headers=true -o="custom-columns=HOSTS:.spec.rules[*].host" |