Class CreatePasswordlessCookie

All Implemented Interfaces:
Component, DestructableComponent, InitializableComponent, ProfileAction, Aware, MessageSource, MessageSourceAware, Action

public class CreatePasswordlessCookie extends AbstractProfileAction
Finalization action that creates the passwordless guard cookkie based on the canonical principal name after the flow completes.

A form field indicates whether an opt-in or opt-out is to be created.

Since:
2.1.0
Event:
EventIds.PROCEED_EVENT_ID, AuthnEventIds.INVALID_SUBJECT_C14N_CTX
Precondition:
      ProfileRequestContext.ensureSubcontext(SubjectCanonicalizationContext.class).getPrincipalName() != null