Interface PluginAuthorizationCheck
-
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface PluginAuthorizationCheck
A functional interface to handle plugin REST API authorization.You may invoke this in your class that extends
BaseCommonPluginResourceby passing it toBaseCommonPluginResource.setPluginAuthorizationCheck(PluginAuthorizationCheck)in the class’s constructor. Any suppliedPluginAuthorizationCheckwill be invoked at the start ofhandle().Your plugin class can also implement this interface, with the same effect.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidcheckAccess()Executes the authorization check, intended to throw aUnauthorizedAccessExceptionif not allowed
-
-
-
Method Detail
-
checkAccess
void checkAccess() throws sailpoint.tools.GeneralException
Executes the authorization check, intended to throw aUnauthorizedAccessExceptionif not allowed- Throws:
sailpoint.authorization.UnauthorizedAccessException- If anything failssailpoint.tools.GeneralException- if anything goes wrong
-
-