Uses of Enum Class
wizardquest.auth.RoleEnum
Packages that use RoleEnum
-
Uses of RoleEnum in wizardquest.auth
Methods in wizardquest.auth that return RoleEnumModifier and TypeMethodDescriptionstatic RoleEnumRoleEnum.convertJSONToEnum(String jsonName) Converts the user's role from string format in the JSON file to a RoleEnum object.AuthenticationResult.role()Returns the value of therolerecord component.static RoleEnumReturns the enum constant of this class with the specified name.static RoleEnum[]RoleEnum.values()Returns an array containing the constants of this enum class, in the order they are declared.Constructors in wizardquest.auth with parameters of type RoleEnumModifierConstructorDescriptionAuthenticationResult(String name, String userID, RoleEnum role) Creates an instance of aAuthenticationResultrecord class. -
Uses of RoleEnum in wizardquest.settings
Methods in wizardquest.settings that return RoleEnumModifier and TypeMethodDescriptionSettingsInterface.getUserRole()Returns the role of the currently authenticated user or throws an exception if no user is authenticated.Methods in wizardquest.settings with parameters of type RoleEnumModifier and TypeMethodDescriptionvoidSettingsInterface.setUserRole(String userID, RoleEnum role) Sets the role of the specified user or throws an exception if the authenticated user is not a developer.