All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.webswing.server.services.security.api.RolePermissionResolver Maven / Gradle / Ivy

There is a newer version: 20.2.4
Show newest version
package org.webswing.server.services.security.api;

import java.io.Serializable;

/**
 * Provides a logic to map Roles to Permissions for {@link AbstractWebswingUser#isPermitted(String)}'s
 * default implementation. 
 */
public interface RolePermissionResolver extends Serializable{
	/**
	 * @param permission permission name
	 * @return All roles the permission is allowed for
	 */
	String[] getRolesForPermission(String permission);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy