Skip to content
U

unit-test-security-authorization

Provides patterns for unit testing Spring Security

by giuseppe-trisciuoglioFree

#7356in AI Skills
0In stores

Description

unit-test-security-authorization is an agent skill from the developer-kit collection for unit testing authorization in Spring Security. It c…

Highlights

  • Tests for @PreAuthorize, @Secured and @RolesAllowed
  • Role-based access control checks
  • Custom permission evaluator tests
  • Access denied scenarios
  • Runs without the full Spring Security context

Ratings & Reviews

No ratings yet

Be the first to rate unit-test-security-authorization.

People also visit

U

unit-test-exception-handler

Provides patterns for unit testing `@ExceptionHandler`

AI Skills
Get
U

unit-test-application-events

Provides patterns for unit testing Spring application events

AI Skills
Get
U

unit-test-caching

Provides patterns for unit testing Spring Cache annotations

AI Skills
Get
U

unit-test-config-properties

Provides patterns for unit testing `@ConfigurationProperties` classes

AI Skills
Get
U

unit-test-controller-layer

Provides patterns for unit testing REST controllers

AI Skills
Get
U

unit-test-scheduled-async

Provides patterns for unit testing Spring `@Scheduled`

AI Skills
Get

unit-test-security-authorization FAQ

What does the unit-test-security-authorization skill cover?

Unit tests for Spring Security method rules, including role-based access control, expression-based authorization and custom permission evaluators.

Does it need the full Spring Security setup?

No. The page says the goal is fast authorization tests without the full Spring Security context.

How do I install it?

Run: npx skills add https://github.com/giuseppe-trisciuoglio/developer-kit --skill unit-test-security-authorization

What do the security audits say?

Gen Agent Trust Hub: Pass. Socket: Pass. Snyk: Pass.

What are the best unit-test-security-authorization alternatives?

Popular alternatives to unit-test-security-authorization include unit-test-exception-handler, unit-test-application-events and unit-test-caching. See all unit-test-security-authorization alternatives

Developer Stuff

Badges