Modifier and Type | Field and Description |
---|---|
protected UserModel |
TaskData.userModel |
Modifier and Type | Method and Description |
---|---|
cn.jiangzeyin.common.JsonMessage<Integer> |
BuildExecuteService.start(String buildInfoId,
UserModel userModel,
Integer delay,
int triggerBuildType,
String buildRemark)
start build
|
Modifier and Type | Method and Description |
---|---|
protected UserModel |
BaseServerController.getUser() |
static UserModel |
BaseServerController.getUserByThreadLocal()
从线程 缓存中获取 用户信息
|
static UserModel |
BaseServerController.getUserModel() |
Modifier and Type | Method and Description |
---|---|
static void |
BaseServerController.resetInfo(UserModel userModel)
为线程设置 用户
|
Modifier and Type | Method and Description |
---|---|
static String |
NodeForward.getSocketUrl(NodeModel nodeModel,
NodeUrl nodeUrl,
UserModel userInfo,
Object... parameters)
获取节点socket 信息
|
static cn.jiangzeyin.common.JsonMessage<String> |
NodeForward.request(NodeModel nodeModel,
NodeUrl nodeUrl,
UserModel userModel,
com.alibaba.fastjson.JSONObject jsonObject)
普通消息转发
|
static <T> cn.jiangzeyin.common.JsonMessage<T> |
NodeForward.requestBody(NodeModel nodeModel,
NodeUrl nodeUrl,
UserModel userModel,
com.alibaba.fastjson.JSONObject jsonData)
post body 消息转发
|
Modifier and Type | Method and Description |
---|---|
cn.jiangzeyin.common.JsonMessage<PageResultDto<UserModel>> |
UserListController.getUserList()
查询所有用户
|
Modifier and Type | Field and Description |
---|---|
static UserModel |
UserModel.EMPTY |
Modifier and Type | Method and Description |
---|---|
UserModel |
UserModel.errorLock()
登录失败,重新计算锁定时间
|
static UserModel |
UserModel.unLock(String id)
解锁
|
Modifier and Type | Method and Description |
---|---|
static cn.jiangzeyin.common.JsonMessage<String> |
OutGivingRun.fileUpload(File file,
String levelName,
String projectId,
boolean unzip,
AfterOpt afterOpt,
NodeModel nodeModel,
UserModel userModel,
boolean clearOld)
上传项目文件
|
static void |
OutGivingRun.startRun(String id,
File file,
UserModel userModel,
boolean unzip)
开始异步执行分发任务
|
Constructor and Description |
---|
OutGivingItemRun(OutGivingModel item,
OutGivingNodeProject outGivingNodeProject,
File file,
UserModel userModel,
boolean unzip) |
Modifier and Type | Method and Description |
---|---|
void |
SshTerminalExecuteLogService.batch(UserModel userInfo,
SshModel sshItem,
String ip,
String userAgent,
boolean refuse,
List<String> commands)
批量记录日志
|
protected void |
DbUserOperateLogService.checkUserWorkspace(String workspaceId,
UserModel userModel) |
Modifier and Type | Method and Description |
---|---|
protected void |
BaseWorkspaceService.checkUserWorkspace(String workspaceId,
UserModel userModel)
判断用户是否有对应工作空间权限
|
T |
BaseWorkspaceService.getByKey(String keyValue,
UserModel userModel)
根据主键ID + 用户ID
|
Modifier and Type | Method and Description |
---|---|
UserModel |
UserService.checkUser(String userMd5)
验证用户md5
|
UserModel |
TriggerTokenLogServer.getUserByToken(String token,
String type)
通过 token 获取用户ID
|
UserModel |
UserService.simpleLogin(String name,
String pwd)
用户登录
|
Modifier and Type | Method and Description |
---|---|
UserBindWorkspaceModel.PermissionResult |
UserBindWorkspaceService.checkPermission(UserModel userModel,
String workspaceId)
判断是否可以执行,并且验证时间段
|
boolean |
UserBindWorkspaceService.exists(UserModel userModel,
String workspaceId)
查询用户 是否存在工作空间权限
|
protected void |
UserService.fillSelectResult(UserModel data) |
UserLoginDto |
UserService.getUserJwtId(UserModel userModel)
查询用户 jwt id
|
List<WorkspaceModel> |
UserBindWorkspaceService.listUserWorkspaceInfo(UserModel userModel)
查询用户绑定的工作空间
|
Modifier and Type | Method and Description |
---|---|
void |
OperateLogController.log(UserModel userModel,
Object value,
OperateLogController.CacheInfo cacheInfo)
记录操作日志
|
Modifier and Type | Method and Description |
---|---|
static String |
JwtUtil.builder(UserModel userModel,
String jwtId)
生成token
|
Copyright © 2017–2022. All rights reserved.