Interface AccessBean
- All Known Implementing Classes:
LoginAccessControl
public interface AccessBean
Access bean must implement this class to allow the correct execution of the access call from spring security configuration
Created by dfuentes on 11/04/2017.
-
Method Summary
Modifier and TypeMethodDescriptionboolean
checkAccess
(org.springframework.security.core.Authentication authentication, jakarta.servlet.http.HttpServletRequest request) Method to check if current user is allowed to access some resource/action
-
Method Details
-
checkAccess
boolean checkAccess(org.springframework.security.core.Authentication authentication, jakarta.servlet.http.HttpServletRequest request) Method to check if current user is allowed to access some resource/action- Parameters:
authentication
- Authenticationrequest
- Request- Returns:
- Access granted
-