Uses of Class
it.uniroma2.art.semanticturkey.rbac.HarmingGoalException
-
Uses of HarmingGoalException in it.uniroma2.art.semanticturkey.rbac
-
Uses of HarmingGoalException in it.uniroma2.art.semanticturkey.security
Modifier and TypeMethodDescriptionprotected boolean
STAuthorizationEvaluator.evaluatePrologGoal
(String prologGoal, Collection<Role> userRoles, Project targetForRBAC) boolean
STAuthorizationEvaluator.isAuthorized
(String prologCapability, String crudv) To use like follow:@PreAuthorize("@auth.isAuthorized('rdf(concept, taxonomy)', 'R')")
For complete documentation seeSTAuthorizationEvaluator.isAuthorized(String, String, String)
boolean
STAuthorizationEvaluator.isAuthorized
(String prologCapability, String userResponsibility, String crudv) boolean
STAuthorizationEvaluator.isAuthorized
(String prologCapability, String userResponsibility, String crudv, String projectName) To use like follow:@PreAuthorize("@auth.isAuthorized('rdf(concept, taxonomy)', '{key1: ''value1'', key2: true}', 'R')")
boolean
STAuthorizationEvaluator.isAuthorizedInProject
(String prologCapability, String crudv, String projectName) This is useful for evaluating authorization for a project different from the one indicated in the contextboolean
STAuthorizationEvaluator.isDefaultSettingsActionAuthorized
(Scope scope, Scope defaultScope, String crud) Tells if an action on default settings is authorizedboolean
STAuthorizationEvaluator.isFileActionAuthorized
(String dir, String crud) Useful for authorizing file operation (read/create file)boolean
STAuthorizationEvaluator.isSettingsActionAuthorized
(Scope scope, String crud)