+91 90691 39140 | +1 253 214 3115 | info@hub4tech.com | hub4tech

Spring Security Interview Questions and Answers

1
Which filter class is needed for spring security?

org.springframework.web.filter.DelegatingFilterProxy.

2
What are access controls in spring security?
  • To access the account list, you must be authenticated.
  • The files in the directory "/secure" should only be visible to authenticated users.
  • The files in the directory "/secure/extreme" should only be visible to Supervisors.
  • Withdrawal and deposits can be made only by Tellers and Supervisors.
  • Overdraft limit for an account can be exceeded only by Supervisors
3
How to restrict static resources processed by spring security filters?

< http pattern="/static/**" security="none" / >

4
From the applications perspective, how many user roles needed in spring security.

Three user roles are there in spring.

  • Supervisors
  • Tellers
  • Plain Users
5
Will Spring Security secures all the applications?

No, in web application, we need to do some more things to secure full application to save from attackers.

Copyright ©2015 Hub4Tech.com, All Rights Reserved. Hub4Tech™ is registered trademark of Hub4tech Portal Services Pvt. Ltd.
All trademarks and logos appearing on this website are the property of their respective owners.
FOLLOW US