Skip to content

incoming HTTP requests authorizer through method-level annotation

License

Notifications You must be signed in to change notification settings

ciros88/authorizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Incoming HTTP requests authorizer through method-level annotation with Spring Boot

Typical scenario

Useful when your microservices architecture already filters HTTP requests with invalid or expired authorization token, but needs a lightweight way to implement authorization mechanism at method-level on its internal services (clients) trought a simple annotations without having to rely on relatively heavy libraries (like Spring Security, Oauth stuff, etc)

Maven dependency

To utilize this library as a maven dependency add to your project's pom:

<dependencies>
   <dependency>
      <groupId>com.ciros</groupId>
      <artifactId>authorizer</artifactId>
      <version>${artifact.version}</version>
   </dependency>
</dependencies>

<repositories>
   <repository>
      <id>ciros88-authorizer</id>
      <url>https://github.com/ciros88/authorizer/raw/mvn-repo</url>
      <snapshots>
         <enabled>true</enabled>
         <updatePolicy>always</updatePolicy>
      </snapshots>
   </repository>
</repositories>

see 'mvn-repo' branch for '${artifact.version}' values to choose from

About

incoming HTTP requests authorizer through method-level annotation

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages