Deprecated API
Contents
-
Terminally Deprecated ElementsElementDescriptionPlease use constructor that takes a
StringinsteadPlease useOneTimeTokenAuthenticationinsteadPlease useOneTimeTokenAuthenticationinsteadPlease use constructor that takes aStringinsteadPlease use constructor that takes aStringinsteadPlease have each class use its own serialization version For more details, refer to theSpringSecurityCoreVersionSerializableTestsclass.as of 7.0 in favor ofCoreJacksonModulebased on Jackson 3as of 7.0 in favor ofSecurityJacksonModulesbased on Jackson 3as of 7.0 in favor oforg.springframework.security.jackson.SimpleGrantedAuthorityMixinbased on Jackson 3
-
Deprecated ClassesClassDescriptionas of 7.0 in favor of
CoreJacksonModulebased on Jackson 3as of 7.0 in favor ofSecurityJacksonModulesbased on Jackson 3as of 7.0 in favor oforg.springframework.security.jackson.SimpleGrantedAuthorityMixinbased on Jackson 3
-
Deprecated FieldsFieldDescriptionPlease have each class use its own serialization version For more details, refer to the
SpringSecurityCoreVersionSerializableTestsclass.
-
Deprecated MethodsMethodDescriptionUse
RoleHierarchyImpl.fromHierarchy(String)or the builder-based approach instead of this manual conversion.Please useOneTimeTokenAuthenticationinsteadPlease use constructor that takes aStringinsteadPlease use constructor that takes aStringinsteadplease provide all advisors in the constructorPlease useAuthorizationAdvisorProxyFactory.addAdvisor(AuthorizationAdvisor)insteadPlease useAuthorizationAdvisorProxyFactory.addAdvisor(AuthorizationAdvisor)insteadUsing this method is not considered safe for production, but is acceptable for demos and getting started. For production purposes, ensure the password is encoded externally. See the method Javadoc for additional details. There are no plans to remove this support. It is deprecated to indicate that this is considered insecure for production purposes.
-
Deprecated ConstructorsConstructorDescriptionUse
SecurityExpressionRoot(Supplier, Object)insteadUseSecurityExpressionRoot(Supplier, Object)insteadPlease use constructor that takes aStringinsteadPlease useOneTimeTokenAuthenticationinstead