How can a servlet implement role-based access control?
- By configuring web.xml
- By modifying the servlet container source code
- Using declarative security
- Using programmatic security
Role-based access control in servlets can be implemented using declarative security, where roles are defined in the deployment descriptor (web.xml) and associated with specific resources or operations.
Loading...
Related Quiz
- In transaction management, what does the term 'ACID' stand for?
- Explain the role of database indexing in query optimization.
- The sequence of filters applied to a request is determined by the order of _______ in the web.xml file.
- When multiple filters are defined, in what order are they executed?
- What is the significance of the web.xml file in handling servlet errors?