OAuth2ClientAuthenticationFilter:
OAuth2ClientAuthenticationToken -> ClientSecretAuthenticationProvider -> OAuth2ClientAuthenticationToken
OAuth2TokenEndpointFilter:
OAuth2ClientCredentialsAuthenticationToken -> OAuth2ClientCredentialsAuthenticationProvider -> OAuth2AccessTokenAuthenticationToken
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 * as path from 'path'; | |
| import * as vscode from 'vscode'; | |
| import { GitExtension, API } from './git'; | |
| let git: API; | |
| let workspaceFolder: vscode.WorkspaceFolder; | |
| export function activate(context: vscode.ExtensionContext) { | |
| context.subscriptions.push(vscode.commands.registerCommand('vscode-git-teamcity-remote-run.remote-run', remoteRun)); | |
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.lang.reflect.Constructor; | |
| import java.lang.reflect.Method; | |
| import org.springframework.beans.BeansException; | |
| import org.springframework.beans.factory.annotation.Autowired; | |
| import org.springframework.beans.factory.config.BeanPostProcessor; | |
| import org.springframework.boot.web.servlet.error.ErrorController; | |
| import org.springframework.cglib.proxy.Callback; | |
| import org.springframework.cglib.proxy.CallbackFilter; | |
| import org.springframework.cglib.proxy.Enhancer; |
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
| <a href="https://cloud.spring.io/spring-cloud-netflix/multi/multi__router_and_filter_zuul.html">Zuul Docs</a> |
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
| // Apply using the following at the end of build.gradle | |
| // | |
| // if (hasProperty('RECIPE')) { | |
| // apply from: 'recipe.gradle' | |
| // } | |
| // | |
| // Usage: | |
| // | |
| // > .\gradlew.bat -PRECIPE=First | |
| // |
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
| initscript { | |
| repositories { | |
| maven { | |
| url "https://plugins.gradle.org/m2/" | |
| } | |
| } | |
| dependencies { | |
| classpath "gradle.plugin.org.barfuin.gradle.taskinfo:gradle-taskinfo:1.0.3" | |
| } | |
| } |
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
| <!-- | |
| To use this goal invoke it like this: | |
| > mvnw install:install-file@m2 | |
| This will install the artifact in local folder m2/repository | |
| --> | |
| <build> | |
| <plugins> | |
| <plugin> |
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
| public class DumpServlets extends OncePerRequestFilter { | |
| @Override | |
| protected void doFilterInternal(HttpServletRequest request, HttpServletResponse response, | |
| FilterChain filterChain) throws ServletException, IOException { | |
| System.out.println("---Servlets---"); | |
| Map<String, ? extends ServletRegistration> servletRegistrations = request.getServletContext() | |
| .getServletRegistrations(); | |
| for (Entry<String, ? extends ServletRegistration> servletNameServletRegistrationEntry : servletRegistrations | |
| .entrySet()) { |
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
| { let e = document.activeElement; let pchain = []; while (e.tagName !== 'BODY') { pchain.unshift(e.tagName + '[' + (Array.prototype.indexOf.call(e.parentElement.querySelectorAll(':scope > ' + e.tagName), e) + 1) + ']'); e = e.parentElement; } ; '/html/body/' + pchain.join('/').toLowerCase() } |
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
| const { | |
| createBuilder, | |
| targetFromTargetString, | |
| scheduleTargetAndForget, | |
| } = require('@angular-devkit/architect'); | |
| const { readWorkspaceJson } = require('@yolkai/nx-workspace'); | |
| const execa = require('execa'); | |
| const path = require('path'); | |
| const { Observable, from, of } = require('rxjs'); | |
| const { catchError, map, mergeMap } = require('rxjs/operators'); |
NewerOlder