Uses of Class
org.yamcs.security.User
Package
Description
-
Uses of User in org.yamcs.activities
Modifier and TypeMethodDescriptionOngoingActivity.getStopRequester()
If a stop has been requested, this returns the first user that asked to cancel.Modifier and TypeMethodDescriptionvoid
void
Request a stop of this activity.ActivityService.cancelActivity
(UUID id, User user) void
Stop a successful activityvoid
void
Activity.completeExceptionally
(String failureReason, User user) Stop an activity.void
OngoingActivity.completeExceptionally
(String failureReason, User user) ActivityService.completeManualActivity
(UUID id, String failureReason, User user) ActivityExecutor.createExecution
(Activity activity, User user) Create an executable activity with the provided argumentsCommandExecutor.createExecution
(Activity activity, User caller) CommandStackExecutor.createExecution
(Activity activity, User caller) ScriptExecutor.createExecution
(Activity activity, User caller) void
ActivityService.startActivity
(Activity activity, User user) ModifierConstructorDescriptionCommandExecution
(ActivityService activityService, CommandExecutor executor, Activity activity, Processor processor, String commandName, Map<String, Object> args, Map<String, Object> extra, User user) CommandStackExecution
(ActivityService activityService, CommandStackExecutor executor, Activity activity, Processor processor, Bucket bucket, String stackName, User user) ScriptExecution
(ActivityService activityService, ScriptExecutor executor, Activity activity, String processor, Path script, List<String> scriptArgs, User user) -
Uses of User in org.yamcs.commanding
Modifier and TypeMethodDescriptionCommandQueueManager.addCommand
(User user, ActiveCommand activeCommand) Called from the CommandingImpl to add a command to the queue.CommandingManager.buildCommand
(MetaCommand mc, Map<String, Object> argAssignmentList, String origin, int seq, User user) Creates a newPreparedCommand
where the binary is created by processing the provided arguments and matching it against the MDB definition.CommandingManager.buildRawCommand
(MetaCommand mc, byte[] binary, String origin, int seq, User user) Creates a newPreparedCommand
with raw provided binary.CommandQueueManager.getQueue
(User user, PreparedCommand pc) boolean
CommandQueue.matches
(User user, MetaCommand metaCmd) CommandingManager.sendCommand
(User user, PreparedCommand pc) -
Uses of User in org.yamcs.http
Modifier and TypeMethodDescriptionvoid
BodyHandler.doHandle
(io.netty.channel.ChannelHandlerContext ctx, io.netty.handler.codec.http.HttpRequest msg, User user) protected void
HttpHandler.doHandle
(io.netty.channel.ChannelHandlerContext ctx, io.netty.handler.codec.http.HttpRequest msg, User user) ModifierConstructorDescriptionHandlerContext
(String contextPath, io.netty.channel.ChannelHandlerContext ctx, io.netty.handler.codec.http.HttpRequest req, User user) WebSocketFrameHandler
(HttpServer httpServer, io.netty.handler.codec.http.HttpRequest req, User user, io.netty.channel.WriteBufferWaterMark writeBufferWaterMark) -
Uses of User in org.yamcs.http.api
Modifier and TypeMethodDescriptionstatic void
BucketsApi.checkManageBucketPrivilege
(String bucketName, User user) static void
BucketsApi.checkReadBucketPrivilege
(String bucketName, User user) static org.yamcs.http.api.ReplayFactory.ReplayWrapper
ReplayFactory.replay
(String instance, User user, ReplayOptions replayRequest, ParameterReplayListener l) launches a replay will only return when the replay is done (either through success or through error)static UserInfo
IamApi.toUserInfo
(User user, boolean sensitiveDetails, Directory directory) ModifierConstructorDescriptionSubscribeParameterObserver
(User user, Observer<SubscribeParametersData> responseObserver) -
Uses of User in org.yamcs.http.audit
Modifier and TypeMethodDescriptionvoid
AuditLogDb.addRecord
(com.google.protobuf.Descriptors.MethodDescriptor method, com.google.protobuf.Message message, User user, String summary) AuditLog.getServices
(User user) boolean
boolean
AuditLog.validateAccess
(String service, User user) -
Uses of User in org.yamcs.parameter
Modifier and TypeMethodDescriptionvoid
ParameterWithIdRequestHelper.addItemsToRequest
(int subscriptionId, List<Yamcs.NamedObjectId> idList, User user) int
ParameterWithIdRequestHelper.addRequest
(List<Yamcs.NamedObjectId> idList, boolean checkExpiration, User user) int
ParameterWithIdRequestHelper.addRequest
(List<Yamcs.NamedObjectId> idList, User user) ParameterWithIdRequestHelper.getValuesFromCache
(List<Yamcs.NamedObjectId> idList, User user) Retrieve a list of parameter values from cache.void
ParameterWithIdRequestHelper.removeItemsFromRequest
(int subscriptionId, List<Yamcs.NamedObjectId> parameterIds, User user) ParameterWithIdRequestHelper.selectPrm
(ParameterRequestManager prm, User user) int
ParameterWithIdRequestHelper.subscribeAll
(User user) ParameterWithIdRequestHelper.switchPrm
(ParameterRequestManager newPrm, User user) Change processor and return the list of parameters that were valid in the old processor and are not anymore -
Uses of User in org.yamcs.security
Modifier and TypeMethodDescriptionSecurityStore.getGuestUser()
SecurityStore.getSystemUser()
Returns the system user.Directory.getUser
(long id) SecurityStore.getUserFromCache
(String username) UserCache.getUserFromCache
(String username) Modifier and TypeMethodDescriptionvoid
void
Directory.changePassword
(User user, char[] password) void
Directory.deleteUser
(User user) void
UserCache.putUserInCache
(User user) void
Directory.updateUserProperties
(User user)