public interface EphemeralUserFactory
UserFactory
Modifier and Type | Method and Description |
---|---|
User |
provideUser(Contextor contextor,
Connection connection,
JSONObject param,
String contextRef,
String contextTemplate)
Synthesize a user object.
|
User provideUser(Contextor contextor, Connection connection, JSONObject param, String contextRef, String contextTemplate)
contextor
- The contextor of the server in which the synthetic
user will be presentconnection
- The connection over which the new user presented
themself.param
- Arbitary JSON object parameterizing the construction.
this is analogous to the user record read from the ODB, but may be
anything that makes sense for the particular factory implementation.
Of course, the sender of this parameter must be coordinated with the
factory implementation.contextRef
- Ref of context the new synthesized user will be
placed intocontextTemplate
- Ref of the context template for the contextCopyright © 2017. All rights reserved.