diff --git a/core/src/main/java/org/apache/gravitino/connector/authorization/RoleAuthorizationPlugin.java b/core/src/main/java/org/apache/gravitino/connector/authorization/RoleAuthorizationPlugin.java index e5d8db8592..2384bff22c 100644 --- a/core/src/main/java/org/apache/gravitino/connector/authorization/RoleAuthorizationPlugin.java +++ b/core/src/main/java/org/apache/gravitino/connector/authorization/RoleAuthorizationPlugin.java @@ -46,8 +46,8 @@ interface RoleAuthorizationPlugin { * * @param role The entity of the Role. * @return IF exist return true, else return false. - * @throws AuthorizationPluginException If getting the Role encounters underlying access control system - * issues. + * @throws AuthorizationPluginException If getting the Role encounters underlying access control + * system issues. */ Boolean onRoleAcquired(Role role) throws AuthorizationPluginException; @@ -114,5 +114,6 @@ interface RoleAuthorizationPlugin { * @return True if the revoke was successfully removed, False if the revoke failed. * @throws AuthorizationPluginException If revoking roles from a group encounters storage issues. */ - Boolean onRevokedRolesFromGroup(List roles, Group group) throws AuthorizationPluginException; + Boolean onRevokedRolesFromGroup(List roles, Group group) + throws AuthorizationPluginException; } diff --git a/core/src/main/java/org/apache/gravitino/connector/authorization/UserGroupAuthorizationPlugin.java b/core/src/main/java/org/apache/gravitino/connector/authorization/UserGroupAuthorizationPlugin.java index fd643290a4..819afecf21 100644 --- a/core/src/main/java/org/apache/gravitino/connector/authorization/UserGroupAuthorizationPlugin.java +++ b/core/src/main/java/org/apache/gravitino/connector/authorization/UserGroupAuthorizationPlugin.java @@ -58,8 +58,8 @@ interface UserGroupAuthorizationPlugin { * * @param user The user entity. * @return IF exist return true, else return false. - * @throws AuthorizationPluginException If getting the User encounters underlying access control system - * issues. + * @throws AuthorizationPluginException If getting the User encounters underlying access control + * system issues. */ Boolean onUserAcquired(User user) throws AuthorizationPluginException; @@ -93,8 +93,8 @@ interface UserGroupAuthorizationPlugin { * * @param group The group entity. * @return If exist return true, else return false. - * @throws AuthorizationPluginException If getting the Group encounters underlying access control system - * issues. + * @throws AuthorizationPluginException If getting the Group encounters underlying access control + * system issues. */ Boolean onGroupAcquired(Group group) throws AuthorizationPluginException;