Servlets, Web Services
Servlet written with Spring MVC + Security, Hibernate, JSTL, JQuery, Bootstrap dependencies. Find details in project folder. By Web-Service-Integration branch, Web Application Template has been integrated with User Authentication Service and Role Management Service.
/** * TODO * UI Decorator - Sitemesh Integration * Auditing and Logging - Hibernate Interceptor & Log4J Integration */- SOAP Web Service
- Returns whether a user credential is authorized, or not
- Clint application has to import UserAuthenticationWSC Integration of the service
@Autowired private UserAuthenticationService userAuthenticationService; ... Boolean isAuthorized = userAuthenticationService.isAuthorized(username, DigestUtil.getSHA256(password));Client application for UserAuthenticationWS
- Spring MVC Restful Web Service with Hibernate integration
- Returns list of roles for a given username
- Clint application has to import RoleManagementWSC
Dependencies
<springframework.version>4.3.18.RELEASE</springframework.version> <spring.ws.version>2.0.0.RELEASE</spring.ws.version> <hibernate.version>4.3.6.Final</hibernate.version> <oracle.version>12.1.0.2.0</oracle.version>Integration of the service
@Autowired private RoleManagementService roleManagementService; ... List<Role> userRoles = roleManagementService.getUserRoles(username);Client application for RoleManagementWS