Interface PostSecurity
- All Known Implementing Classes:
PostSecurityImpl
public interface PostSecurity
Verifies post ownership for authorization purposes.
-
Method Summary
-
Method Details
-
isOwner
Checks if the authenticated user is the owner of the specified post.- Parameters:
postId- the ID of the post to check- Returns:
- true if the authenticated user owns the post, false otherwise
-