Package org.rapidcontext.app.proc
Class SessionAuthenticateProcedure
java.lang.Object
org.rapidcontext.core.storage.StorableObject
org.rapidcontext.core.type.Procedure
org.rapidcontext.app.proc.SessionAuthenticateProcedure
The built-in session authentication procedure.
- Version:
- 1.0
- 
Field SummaryFields inherited from class org.rapidcontext.core.type.ProcedureACTIVE_MILLIS, KEY_ALIAS, KEY_BINDING, KEY_DEPRECATED, KEY_DESCRIPTION, PATHFields inherited from class org.rapidcontext.core.storage.StorableObjectdict, KEY_ACTIVATED_TIME, KEY_CLASSNAME, KEY_ID, KEY_TYPE, PREFIX_COMPUTED, PREFIX_HIDDEN
- 
Constructor SummaryConstructorsConstructorDescriptionSessionAuthenticateProcedure(String id, String type, Dict dict) Creates a new procedure from a serialized representation.
- 
Method SummaryMethods inherited from class org.rapidcontext.core.type.Procedurealias, all, deprecated, description, find, getBindings, isActive, metrics, normalize, refreshAliases, reportMethods inherited from class org.rapidcontext.core.storage.StorableObjectactivate, activatedTime, destroy, dictKey, id, init, isModified, passivate, path, serialize, sterilize, toString, type
- 
Constructor Details- 
SessionAuthenticateProcedureCreates a new procedure from a serialized representation.- Parameters:
- id- the object identifier
- type- the object type name
- dict- the serialized representation
 
 
- 
- 
Method Details- 
callExecutes a call of this procedure in the specified context and with the specified call bindings. The semantics of what the procedure actually does, is up to each implementation. Note that the call bindings are normally inherited from the procedure bindings with arguments bound to their call values.- Specified by:
- callin class- Procedure
- Parameters:
- cx- the procedure call context
- bindings- the call bindings to use
- Returns:
- the result of the call, or null if the call produced no result
- Throws:
- ProcedureException- if the call execution caused an error
 
- 
responseBuilds an authentication response object.- Parameters:
- success- the authentication success flag
- message- the success or error message
- userId- the user identifier, or null
- Returns:
- the authentication response object
 
 
-