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
BaseCommonPluginResource
by passing it toBaseCommonPluginResource.setPluginAuthorizationCheck(PluginAuthorizationCheck)
in the class’s constructor. Any suppliedPluginAuthorizationCheck
will 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 void
checkAccess()
Executes the authorization check, intended to throw aUnauthorizedAccessException
if not allowed
-
-
-
Method Detail
-
checkAccess
void checkAccess() throws sailpoint.tools.GeneralException
Executes the authorization check, intended to throw aUnauthorizedAccessException
if not allowed- Throws:
sailpoint.authorization.UnauthorizedAccessException
- If anything failssailpoint.tools.GeneralException
- if anything goes wrong
-
-