Class LoginAccessControl

java.lang.Object
com.almis.awe.security.accessbean.LoginAccessControl
All Implemented Interfaces:
AccessBean

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

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • LoginAccessControl

      public LoginAccessControl()
  • Method Details

    • checkAccess

      public boolean checkAccess(org.springframework.security.core.Authentication authentication, jakarta.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