Skip to content

Instantly share code, notes, and snippets.

@bs-public
bs-public / .gitignore
Created May 28, 2020 01:09 — forked from dsyer/.gitignore
Spring Security OAuth2 samples with custom OAuth2 endpoint URLs
*/src/META-INF/
*/src/main/java/META-INF/
samples/*/*/src/main/webapp/META-INF/
target/
.classpath
.project
.DS_Store
.settings/
*.iml
*.iws
@bs-public
bs-public / SecurityFilter.java
Created June 10, 2018 04:57 — forked from ekirastogi/SecurityFilter.java
How to define Filter order in Filter Chain in Spring Boot
package com.ekiras.filter;
import org.springframework.core.annotation.Order;
import org.springframework.stereotype.Component;
import javax.servlet.*;
import java.io.IOException;
/**
* Created by ekansh on 22/10/15.