Class UpdateAdminContextWithC14nPrincipal

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

public class UpdateAdminContextWithC14nPrincipal extends AbstractWebAuthnAction<WebAuthnManagementContext>
A WebAuthn management action that sets the principal name from the SubjectCanonicalizationContext back onto the WebAuthn context as the search username. It then removes the SubjectCanonicalizationContext from the parent, this can help avoid conflicting/confusing situations where a new c14n context will be created by subsequent authentication steps.
Event:
EventIds.PROCEED_EVENT_ID
Precondition:
ProfileRequestContext.getSubcontext(WebAuthnManagementContext.class) != null
Postcondition:
ProfileRequestContext.getSubcontext(WebAuthnManagementContext.class).getSearchUsername() != null