public class OneUserDetails
extends org.springframework.security.core.userdetails.User
Extension of the Spring Security user that additionally stores the user ID, tenant ID and origin user ID of the logged in user.
Constructor and Description |
---|
OneUserDetails(String username,
String password,
Collection<? extends org.springframework.security.core.GrantedAuthority> authorities,
String userId,
String tenantId) |
Modifier and Type | Method and Description |
---|---|
String |
getTenantId() |
String |
getUserId() |
boolean |
isImpersonated() |
String |
toString() |
public OneUserDetails(String username, String password, Collection<? extends org.springframework.security.core.GrantedAuthority> authorities, String userId, String tenantId)
Copyright © 2010 - 2019 edorasware ag. All Rights Reserved.