Coder Social home page Coder Social logo

diary's Introduction

Spring_BASE

  • spring 2.6.7
  • spring config server client 3.1.3
  • spring actuator 2.6.7
  • hibernate 5.6.8.FINAL
  • querydsl 5.0.0
  • modelmapper 3.1.0
  • reflections 0.10.2
  • spring-security-crypto 5.6.3
  • jjwt 0.9.1 / jjwt-api 0.11.2
  • swagger3 (springfox-boot-starter 3.0.0 / springfox-swagger-ui 3.0.0)

Jwts 관련 처리 토큰


@Authorization : (@RequestHeader Object name) :: Method에 표시
      -> AOP에서 자동으로 토큰을 dto로 변경하는데 이를 위해 하는 표시

@AuthorizeDto : 인증 DTO :: ElementType으로 class에 표시
      -> AOP에서 대상 dto로 선정하는 기준

@IgnoreEncrypt : Jwt body 변환 무시
      -> 주로 변환 대상이 되는 dto의 필드에 선언

Junit Test

  class BaseTest{
//    아래의 Object는 request를 보내는 파라미터를 보내는 부분
    
      get(String url, Object object);
//      RestTemplate GetMapping
    
      post(String url, Object object);
//      RestTemplate PostMapping
    
      patch(String url, Object object);
//      RestTemplate PatchMapping
      
      delete(String url, Object object);
//      RestTemplate DeleteMapping
  }
    

diary's People

Contributors

newkayak12 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.