Spring Security is huge! With Spring Security, it is possible to achieve much more than we just presented. Let's highlight some great Spring Security features.
For example, you can define your own authorization provider and authorization rules or, for example, support LDAP or OpenID authentication easily with very few lines of code.
With Spring Security, you can encode and validate passwords. Classes must implement the PasswordEncoder interface:
package org.springframework.security.crypto.password; /** * Service interface for encoding passwords. * * The preferred implementation is {@code BCryptPasswordEncoder}. * * @author Keith Donald */ public interface PasswordEncoder { /** * Encode the raw password. Generally, a good encoding algorithm applies a SHA-1 or * greater hash combined with an 8-byte or greater...