Code-Wizard Documentation
  • 👋Welcome to Code-Wizard
  • Introduction
    • 💡What we do
    • ✨Code-Wizard Features
      • Design Library
      • Excel Editor to Code Generation
      • Text File to Code Generation
      • Audio File to Code Generation
      • Ping Chat bot to Generate Code
      • Industry specific screen library
      • Our Technology Stack
      • Streamlined Deployments
      • Full Stack Frameworks
      • Capability-Docker/Docker Compose
      • Capability-Authentication & Authorization(Auth0)
      • Capability-Authentication & Authorization(OAuth)
      • Capability-Authentication & Authorization(Basic)
      • Capability-Authentication & Authorization (Spring)
      • Capability-Razorpay
      • Capability-Hazlecast
      • Capability-Redis Cache
      • Capability-User Management
    • ✍️Prerequisites for Application Project
  • 🇨🇱Using Code-Wizard
    • 📎Create Projects
      • How to create a back-end web application
      • How to create a front-end web application
      • How to create entire project in single go
      • Web-Development Framework Project
      • How to create both front&back end projects
    • 🈸Front-end TechStack
      • React
        • 🛂Supported Features
      • OpenUI5
      • Html
      • Angular
      • Flutter
      • Vue JS
    • 🈸Back-end TechStack
      • 🪶Spring OData
        • 🛂Supported Features
      • 🧊Spring Boot
      • Servlet
      • Python
      • NodeJS
      • Blockchain
    • 📗Templates-Screens
  • Fundamentals
    • 🛠️Getting set up
      • 📝Setting permissions
      • 🧑Inviting Members
  • Use Cases
    • Page 1
    • 🖥️For Developers
      • React Applications
      • Spring Odata Applications
    • 🦹‍♂️For Users
Powered by GitBook
On this page
  1. Introduction
  2. Code-Wizard Features

Capability-Authentication & Authorization (Spring)

PreviousCapability-Authentication & Authorization(Basic)NextCapability-Razorpay

Last updated 6 months ago

Spring Security is a powerful and customizable authentication and access control mechanism that Code-Wizard provides as a Capability for applications created by Spring OData as Spring Security is used to secure Spring-based applications through robust authentication and authorization.

Admin API setup

Add Host Info

To add host you need to call POST Add Host Info API with ip, port, scheme, serviceName prefix of generated app, and name for generated application.

GET List All Host

To review all list of hosts

Del Host Info By Id

To delete host you can call this API

POST Signup

Register API interacts with Spring Security

POST Login

To verify login you call this API by passing userName and password, once you post the response your response contains a bearer token, copy it and navigate to Authorization tab select type as "Bearer Token" and pass the copied token.

POST Add Role

To add roles you need to call this

PUT Add User Roles

To add user role you need to call this API and specify user id and role id

✨
Spring Security