Skip to content

CoSecMulti-Tenant Reactive Security Framework

RBAC-based and Policy-based access control for JVM applications, inspired by AWS IAM

Quick Start

kotlin
// build.gradle.kts
implementation("me.ahoo.cosec:cosec-spring-boot-starter:<version>")
yaml
# application.yaml
cosec:
  jwt:
    algorithm: hmac256
    secret: your-secret-key-here
  authorization:
    local-policy:
      enabled: true
      init-repository: true

Tech Stack

TechnologyVersionPurpose
Kotlin2.3.20Primary language
Java17Target JVM
Spring Boot4.0.5Application framework
Project Reactor-Reactive programming
auth0/java-jwt4.5.1JWT token handling
CoCache4.0.2Distributed Redis caching
JustAuth1.16.7OAuth social authentication
OpenTelemetry2.26.1Observability tracing

Licensed under the Apache License, Version 2.0.