Package com.jangular.backend.utils
Class SecurityUtils
java.lang.Object
com.jangular.backend.utils.SecurityUtils
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanisCurrentUser(Long userId) Check if the authenticated user is the user being accessedorg.springframework.security.crypto.password.PasswordEncoder
-
Constructor Details
-
SecurityUtils
public SecurityUtils()
-
-
Method Details
-
passwordEncoder
@Bean public org.springframework.security.crypto.password.PasswordEncoder passwordEncoder() -
isCurrentUser
Check if the authenticated user is the user being accessed
-