Skip to content

This tool collects and lists all @PreAuthorize authorities used in @RestController classes within a Java project, making it easier to audit and document endpoint security settings.

Notifications You must be signed in to change notification settings

sergei-gots/preauthorize-crawler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Java Project @Preauthorize Crawler

Description

This tool collects and lists all @PreAuthorize authorities used in @RestController classes within a Java project, making it easier to audit and document endpoint security settings.

Usage

:

Options:

--project-dir=<path>   Set the project's directory (by default = '.')
--output-dir=<path>    Set the output directory (by default = 'scratches')
--rest-controller-mask=<RestController>  Root part in names of RestController-classes (by default = 'RestController')
--swagger-host=<url>   Set the Swagger host URL (by default = 'http://localhost:8080/webapp/swagger-ui/index.html?configUrl=/webapp/v3/api-docs/swagger-config#/'"
--help                Show this help message

Usage example: java -jar preauthorize-crawler-1.0-all.jar --project-dir=./../my-webapp --output-dir=my-scratches --swaggerhost=http://dev.mycrosoft.com:80A0/webapp/swagger-ui/index.html?configrl=/webapp/v3/api-docs/swagger-config#/

Thank you for using this @Preauthorize-crawler

About

This tool collects and lists all @PreAuthorize authorities used in @RestController classes within a Java project, making it easier to audit and document endpoint security settings.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages