use of com.sequenceiq.cloudbreak.api.model.User in project cloudbreak by hortonworks.
the class UserController method evictCurrentUserDetails.
@Override
public User evictCurrentUserDetails() {
IdentityUser user = authenticatedUserService.getCbUser();
userDetailsService.evictUserDetails(user.getUserId(), user.getUsername());
return new User(user.getUsername());
}
Aggregations