public static AuthenticationPolicyExecutionResult success(final boolean condition) {
        return AuthenticationPolicyExecutionResult.builder().success(condition).build();
    }
Success authentication policy via a condition.

@param condition the condition
@return the authentication policy execution result
api/cas-server-core-api-authentication/src/main/java/org/apereo/cas/authentication/AuthenticationPolicyExecutionResult.java