Package com.vortexsoftware.sdk.spring
Class VortexConfig.VortexUser
java.lang.Object
com.vortexsoftware.sdk.spring.VortexConfig.VortexUser
- Enclosing interface:
VortexConfig
Represents a user in the Vortex system
Supports both new simplified format (userEmail + userIsAutoJoinAdmin)
and legacy format (identifiers + groups + role) for backward compatibility.
-
Constructor Summary
ConstructorsConstructorDescriptionVortexUser(String userId, String userEmail, Boolean userIsAutoJoinAdmin) Create a VortexUser with new simplified format (recommended)VortexUser(String userId, List<Identifier> identifiers, List<Group> groups, String role) Deprecated.Use constructor with userEmail instead -
Method Summary
Modifier and TypeMethodDescriptiongetRole()voidvoidsetIdentifiers(List<Identifier> identifiers) voidvoidsetUserEmail(String userEmail) voidvoidsetUserIsAutoJoinAdmin(Boolean userIsAutoJoinAdmin) toString()
-
Constructor Details
-
VortexUser
public VortexUser() -
VortexUser
Create a VortexUser with new simplified format (recommended)- Parameters:
userId- User's unique identifieruserEmail- User's email addressuserIsAutoJoinAdmin- Whether user is an auto-join admin
-
VortexUser
@Deprecated public VortexUser(String userId, List<Identifier> identifiers, List<Group> groups, String role) Deprecated.Use constructor with userEmail insteadCreate a VortexUser with legacy format (deprecated but still supported)- Parameters:
userId- User's unique identifieridentifiers- List of user identifiers (email, sms, etc.)groups- List of groups the user belongs torole- User's role in the system
-
-
Method Details