public void addAction(final PrincipalFromRequestExtractorAction action) {
        this.chain.add(action);
        AnnotationAwareOrderComparator.sort(this.chain);
    }
Add action.

@param action the action
support/cas-server-support-trusted/src/main/java/org/apereo/cas/adaptors/trusted/web/flow/ChainingPrincipalFromRequestNonInteractiveCredentialsAction.java