question: public ModeledAuthenticatedUser ( AuthenticatedUser authenticatedUser , AuthenticationProvider modelAuthenticationProvider , ModeledUser user ) { super ( authenticatedUser . getAuthenticationProvider ( ) , authenticatedUser . getCredentials ( ) ) ; this . modelAuthenticationProvider = modelAuthenticationProvider ; this . user = user ; }
target:  Creates a copy of the given AuthenticatedUser which is associated with the data stored in the provided ModeledUser. The AuthenticatedUser need not have come from the same AuthenticationProvider which produced the given ModeledUser.