public static AuthenticationResult getAuthenticationResult(final RequestContext ctx) {
        return ctx.getConversationScope().get(CasWebflowConstants.ATTRIBUTE_AUTHENTICATION_RESULT, AuthenticationResult.class);
    }
Gets authentication result builder.

@param ctx the ctx
@return the authentication context builder
core/cas-server-core-web-api/src/main/java/org/apereo/cas/web/support/WebUtils.java