Spring Security 3.0: by Tanuj Kathuria
Spring Security 3.0: by Tanuj Kathuria
0
BY TANUJ KATHURIA
Spring Security provides security for the Web J2EE based Applications.
MAJOR OPERATIONS
AUTHENTICATION
IDENTIFICATION + VERIFICATION
AUTHORIZATION
SERVLET FILTERS
security-core-3.0.1.RELEASE.jar
Spring
security-web-3.0.1.RELEASE.jar
SCHEMA:
CONFIGURATION CHANGE 1
CONFIGURATION CHANGE 2
WEB-INF/spring-security.xml
BASIC ARCHITECTURE
Authentication Manager
UserDetailsService(UserRepository),
it loads Security Context information
like user details and authorities.
Security Context
User Information
3 TYPES OF AUTHENTICATION
HTTP BASIC
DEFAULT FORM
CUSTOM FORM
<http auto-config="true"> is
the tag which calls the default
login form in case of Spring
security.
AUTHENTICATION PROVIDERS
HASHED PASSWORD
<password-encoder hash="sha-256"/>
<user name="tanuj"
password="8d969eef6ecad3c29a3a629280e686cf0c3f5d5a86aff3ca12
020c923adc6c92" authorities="ROLE_USER" />
DATABASE PASSWORD
THANK YOU
TANUJ KATHURIA