Class DefaultRolePermissionsProvider

java.lang.Object
com.aquima.web.security.DefaultRolePermissionsProvider
All Implemented Interfaces:
IRolePermissionsProvider

public class DefaultRolePermissionsProvider extends Object implements IRolePermissionsProvider
Created by s.wartenberg on 29-6-2017.
  • Constructor Details

    • DefaultRolePermissionsProvider

      public DefaultRolePermissionsProvider(Map<String,String> rolePermissions)
  • Method Details

    • getRolePermissions

      public List<String> getRolePermissions(String role)
      Specified by:
      getRolePermissions in interface IRolePermissionsProvider
      Returns:
      a list of permissions for the role received as parameter. If the role is null or unknown, an empty list should be returned. Never null.