Monday, June 24, 2024
Friday, June 14, 2024
How authenticationProvide interact with UserDetailService?
The
AuthenticationProvider
is the component that implements the authentication logic and uses the UserDetailsService
to load details about the user. To find the user by username, it calls the loadUserByUsername(String username)
method.
Thursday, June 13, 2024
Relationship between UserDetailService, UserDetails and UserDetails manager
The
UserDetailsService
returns the details of a user, finding the user by its name. The UserDetails
contract describes the user. A user has one or more authorities, represented by the GrantedAuthority
interface. To add operations such as create, delete, or change password to the user, the UserDetailsManager
contract extends UserDetailsService
to add operations.
Wednesday, June 12, 2024
Subscribe to:
Posts (Atom)
Fluent interface pattern
public class UserConfigurationManager { private String userName; private String password; private UserConfigurationManager() { ...
-
If there is multiple implementation of an interface then we need to specify which one's implementation will use. For that reason we need...
-
public class MainApp { public static void main(String[] args) { String input = "aabbbcccdeefghijkkkkkk"; calculateFrequen...
-
If any event fired on a DOM element it will also fired on all of its parent element which is called the event bubbling. So, the element eve...