spring_security_core 0.4.2
spring_security_core: ^0.4.2 copied to clipboard
Spring Security for Dart: the security context, users, password encoders (Argon2, PBKDF2, scrypt) and method security with @PreAuthorize on bean methods.
0.4.2 #
- Docs (#9)
0.4.1 #
- feat: guides replace the examples; optional parameters from Dart nullability; coloured logs
0.4.0 #
- Initial version: Spring Security's core for servers and Flutter apps.
SecurityContextHolderkept perZone(with one global context outside every scope),Authenticationand its tokens, users (UserDetails,User.withUsername,UserDetailsService,InMemoryUserDetailsManager),AuthenticationManager,ProviderManagerandDaoAuthenticationProvider(no user enumeration by message or timing, hashes upgraded at login, hashing on another isolate), authentication events. Password encoders on Bouncy Castle's Dart port (pointycastle): Argon2 (the default), PBKDF2, scrypt and the delegating encoder, in Spring Security's formats (hashes checked both ways against Spring Security 7.1). Method security:@PreAuthorize,@PostAuthorize,@Secured,@PreFilterand@PostFilteron bean methods with SpEL (hasRole,principal, arguments,returnObject,hasPermission, beans), always on, every expression parsed at startup, run before@Cacheable;RoleHierarchy,GrantedAuthorityDefaults. Tests:withMockUser,withAuthentication,withAnonymousUser.