
net.smartcosmos.cluster.auth.domain.UserResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of smartcosmos-auth-server Show documentation
Show all versions of smartcosmos-auth-server Show documentation
SMART COSMOS Authorization Server handles authentication throughout the microservice fleet
The newest version!
package net.smartcosmos.cluster.auth.domain;
import java.util.List;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
/**
* This is the response from the User Details Service that will contain the necessary
* information for caching purposes. While not required, if the password hash is filled
* this will speed up authentication considerably, since it can be queried against the
* native Spring Security Cache.
*
* @author voor
*/
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString(exclude = "passwordHash")
public class UserResponse {
private String tenantUrn;
private String userUrn;
private String username;
private String passwordHash;
private List authorities;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy