Class UserAuthenticationTokenProcedure

All Implemented Interfaces:
Procedure

public class UserAuthenticationTokenProcedure extends Procedure
The built-in user authentication token creation procedure.
Version:
1.0
  • Field Details

    • DEFAULT_DURATION

      public static final long DEFAULT_DURATION
      The default authentication token duration.
      See Also:
  • Constructor Details

    • UserAuthenticationTokenProcedure

      public UserAuthenticationTokenProcedure(String id, String type, Dict dict)
      Creates a new procedure from a serialized representation.
      Parameters:
      id - the object identifier
      type - the object type name
      dict - the serialized representation
  • Method Details

    • call

      public Object call(CallContext cx, Bindings bindings) throws ProcedureException
      Executes 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.
      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