mirror of
				https://github.com/spring-projects/spring-security.git
				synced 2025-10-25 19:58:48 +00:00 
			
		
		
		
	
		
			
	
	
		
			30 lines
		
	
	
		
			714 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
		
		
			
		
	
	
			30 lines
		
	
	
		
			714 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
|  | = Authorization Changes | ||
|  | 
 | ||
|  | == If Using Access API, Add `spring-security-access` | ||
|  | 
 | ||
|  | Spring Security 7 moves `AccessDecisionManager`, `AccessDecisionVoter`, and the related Access API to a legacy module, `spring-security-access`. | ||
|  | The Access API is deprecated in favor of the Authorization API as of Spring Security 5. | ||
|  | 
 | ||
|  | You can add the dependency like other Spring Security dependencies like so: | ||
|  | 
 | ||
|  | [tabs] | ||
|  | ====== | ||
|  | Maven:: | ||
|  | + | ||
|  | [source,xml,role="primary"] | ||
|  | ---- | ||
|  | <dependency> | ||
|  |     <groupId>org.springframework.security</groupId> | ||
|  |     <artifactId>spring-security-access</artifactId> | ||
|  | </dependency> | ||
|  | ---- | ||
|  | 
 | ||
|  | Gradle:: | ||
|  | + | ||
|  | [source,groovy,role="primary"] | ||
|  | ---- | ||
|  | implementation('org.springframework.security:spring-security-access') | ||
|  | ---- | ||
|  | ====== | ||
|  | 
 |