Class IdUCommandContext
java.lang.Object
com.io7m.idstore.server.controller.command_exec.IdCommandContext<IdUResponseType,IdSessionUser>
com.io7m.idstore.server.controller.user.IdUCommandContext
The command context for user API commands.
-
Constructor Summary
ConstructorDescriptionIdUCommandContext
(com.io7m.repetoir.core.RPServiceDirectoryType inServices, UUID inRequestId, IdDatabaseTransactionType inTransaction, IdSessionUser inSession, IdUser inUser, String inRemoteHost, String inRemoteUserAgent) The context for execution of a command (or set of commands in a transaction). -
Method Summary
Methods inherited from class com.io7m.idstore.server.controller.command_exec.IdCommandContext
fail, failDatabase, failExceptional, failFormatted, failMail, failPassword, failProtocol, failSecurity, failValidity, now, remoteHost, remoteUserAgent, requestId, securityCheck, services, session, toString, tracer, transaction
-
Constructor Details
-
IdUCommandContext
public IdUCommandContext(com.io7m.repetoir.core.RPServiceDirectoryType inServices, UUID inRequestId, IdDatabaseTransactionType inTransaction, IdSessionUser inSession, IdUser inUser, String inRemoteHost, String inRemoteUserAgent) The context for execution of a command (or set of commands in a transaction).- Parameters:
inServices
- The service directoryinRequestId
- The request IDinTransaction
- The transactioninSession
- The user sessioninUser
- The userinRemoteHost
- The remote remoteHostinRemoteUserAgent
- The remote user agent
-
-
Method Details
-
user
- Returns:
- The user executing the command.
-