Package org.gridgain.internal.rest
Interface SecurityContextAware
- All Known Implementing Classes:
AuthenticationController,CdcController,DcrController,LicenseController,PitrController,PrivilegesController,RoleAssignmentsController,RoleManagementController,RollingUpgradeController,SnapshotManagementController,UserManagementController
public interface SecurityContextAware
Security context aware adds helpful method to execute supplier with security context.
-
Method Summary
Modifier and TypeMethodDescriptiondefault voiddefault <T> TExecute supplier with security context.io.micronaut.security.utils.SecurityServiceGet security service.
-
Method Details
-
secured
Execute supplier with security context.- Parameters:
supplier- Supplier.- Returns:
- Supplier result.
-
secured
-
securityService
io.micronaut.security.utils.SecurityService securityService()Get security service.- Returns:
- Security service.
-