Class LoginAccessControl

  • All Implemented Interfaces:
    AccessBean

    public class LoginAccessControl
    extends Object
    implements AccessBean
    Login access control bean Created by dfuentes on 11/04/2017.
    • Constructor Detail

      • LoginAccessControl

        public LoginAccessControl()
    • Method Detail

      • checkAccess

        public boolean checkAccess​(org.springframework.security.core.Authentication authentication,
                                   javax.servlet.http.HttpServletRequest request)
        Description copied from interface: AccessBean
        Method to check if current user is allowed to access some resource/action
        Specified by:
        checkAccess in interface AccessBean
        Parameters:
        authentication - Authentication
        request - Request
        Returns:
        Access granted