spring-security-core

Deprecated API


Contents
Deprecated Interfaces
org.springframework.security.access.intercept.aspectj.AspectJAnnotationCallback
            
 

Deprecated Classes
org.springframework.security.access.intercept.aspectj.AspectJAnnotationSecurityInterceptor
          Use AspectJMethodSecurityInterceptor instead 
org.springframework.security.access.intercept.aspectj.AspectJSecurityInterceptor
          Use AspectJMethodSecurityInterceptor instead 
org.springframework.security.access.ConfigAttributeEditor
            
org.springframework.security.util.EncryptionUtils
          Use a dedicated encryption library instead. 
org.springframework.security.access.vote.LabelBasedAclVoter
          Use new spring-security-acl module instead 
org.springframework.security.access.method.MethodSecurityMetadataSourceEditor
          use method annotations or the protect-pointcut support from the namespace 
org.springframework.security.access.hierarchicalroles.UserDetailsServiceWrapper
          use a RoleHierarchyVoter instead of populating the user Authentication object with the additional authorities. 
org.springframework.security.access.hierarchicalroles.UserDetailsWrapper
          use a RoleHierarchyVoter instead. 
org.springframework.security.core.userdetails.memory.UserMap
          Use a plain map instead 
 

Deprecated Methods
org.springframework.security.core.AuthenticationException.clearExtraInformation()
           
org.springframework.security.core.AuthenticationException.getExtraInformation()
          Use the exception message or use a custom exception if you really need additional information. 
org.springframework.security.authentication.AbstractAuthenticationManager.setClearExtraInformation(boolean)
          the extraInformation property is deprecated 
org.springframework.security.authentication.dao.DaoAuthenticationProvider.setIncludeDetailsObject(boolean)
          use AbstractAuthenticationManager.setClearExtraInformation(boolean) 
 

Deprecated Constructors
org.springframework.security.authentication.AccountStatusException(String, Object)
           
org.springframework.security.authentication.AnonymousAuthenticationToken(String, Object, GrantedAuthority[])
          use the second constructor 
org.springframework.security.core.AuthenticationException(String, Object)
          Use the exception message or use a custom exception if you really need additional information. 
org.springframework.security.authentication.BadCredentialsException(String, Object)
           
org.springframework.security.core.userdetails.User(String, String, boolean, boolean, boolean, boolean, GrantedAuthority[])
            
org.springframework.security.core.userdetails.UsernameNotFoundException(String, Object)
           
org.springframework.security.authentication.UsernamePasswordAuthenticationToken(Object, Object, GrantedAuthority[])
          use the list of authorities version 
 


spring-security-core