@ReadOperation(produces = {
        MediaType.APPLICATION_JSON_VALUE, MEDIA_TYPE_SPRING_BOOT_V2_JSON, MEDIA_TYPE_CAS_YAML})
    @Operation(summary = "Get available authentication policy by name", parameters = @Parameter(name = "name", required = true, description = "The name of the policy to fetch"))
    public AuthenticationPolicyDetails fetchPolicy(@Selector final String name) {
        return this.authenticationEventExecutionPlan.getObject().getAuthenticationPolicies()
            .stream()
            .filter(authnHandler -> authnHandler.getName().equals(name))
            .findFirst()
            .map(policy -> AuthenticationPolicyDetails.builder().name(policy.getName()).order(policy.getOrder()).build())
            .orElse(null);
    }
Fetch authn policy by name.

@param name the name
@return the authentication policy
support/cas-server-support-reports-core/src/main/java/org/apereo/cas/web/report/RegisteredAuthenticationPoliciesEndpoint.java