type

TScGetPasswordByTicketNameEvent = procedure (Sender: TObject; const Ticket: TBytes; out Password: TBytes) of object;

 

property OnGetPasswordByTicketName: TScGetPasswordByTicketNameEvent;

 

Description

Occurs when the client resumes a session using New Session Ticket to get the password that was used to encrypt the contents of the ticket.

A New Session Ticket can be initialized automatically or manually in the OnCreateNewSessionTicket event. When OnCreateNewSessionTicket is not set, a ticket will be initialized automatically.

When a ticket is created automatically, the contents of the ticket should be encrypted. If a user wants to set its own password, it can do it the event handler OnGetTicketNameAndPassword. An OnGetPasswordByTicketName event, which will be triggered to decode the session state, should return Password for Ticket.

 

See Also

OnCreateNewSessionTicket

OnDecodeTicket

OnGetTicketNameAndPassword

Options.NewSessionTicketDistributedCount

 

SecureBridge Components, Copyright © 2007-2024 Devart. All Rights Reserved. Provide Feedback Visit Forum Request Support